Why did he stop looking at me after he talked to me?

there’s this guy that has been looking at me for a while when I’m not looking but whenever I catch him he looks away and he’s very shy. Today he called my name because my teacher was calling me and said that my teacher was calling me. That’s the first time we make eye contact but after that he hasn’t looked at me so I’m wondering if he got scared of talking to me or he really just didn’t care

Updates
+1 y
update: he took out his phone so quickly after he saw me
Why did he stop looking at me after he talked to me?
Post Opinion