Is staring a sign of attraction? Glance at eachother? Or hold eye contact?

Fused to be in class with a guy I would look at him and he would look at me even tho we wouldn't talk he would I wouldn't but we would kind of stare for 5 sec and then look away and would keep talking and the same thing again. And he stood up for me people were mean but I wouldn't talk to him cause I was shy.. Don't think he had feelings or not? This was a long time ago but I just want opinions
Is staring a sign of attraction? Glance at eachother? Or hold eye contact?
Post Opinion