This does not sound right at all. Try going up to him in school and talking to him. Confront him about it as soon as possible.
He feels threatened by this other guy. Maybe you and this other guy have more in common than you do with your boyfriend. He is just scared that this guy will steal you away from him. Its normal and I'm sure you already knew that yourself.