First, learn to put yourself in others' shoes. After all, you should make a mistake first, otherwise the teacher will not criticize you inexplicably.
Second, what the teacher is doing here is wrong. After all, as a college student, he has grown up and should save face.