This is a hold-over from legalism. To shame a person is harsh and unloving.