Is he just being friendly or flirting?

I have this guy in my class I don’t find him to be someone that I normally interested in. But I’ve notice over a couple of weeks he’s been really proactive in speaking to me, telling me bye when leaving class or even if I see him in the middle of the hallway and in my class I found him give me a good eye stare fuck lol and I looked away like super fast..so what is it? Is he being friendly or just flirty..I’m used to guys taking more charge if they like me or want to talk to me..and he definitely is not that type he is very laid back not the aggressive assertive type that I like.. I prefer assertive types because I am very laid back too...also part of me thinks he’s kinda gay but idk? Any past experiences ?