God, that's very wrong. Your friend did the wrong thing. The least he has to do is apologize. What did the teacher do to him? Teachers in general are holy people
You're friends with him, and you know better. But I don't think you should make too hasty decisions. But if you feel like you don't understand each other, you need to talk about it.