The guy that sometimes stay near me during classes didn’t want to talk with me today?

One guy from class usually comes to me just for small talk or check my computer. I was like, hm maybe he likes me?
And today he was sitting alone on sofa in hallway near classroom. I decided to sit near him and talk, and he was uncomfortable, when I say something he answered with few words and didn’t try to continue conversation. Then I decided to leave to classroom.
Why it was like that? Is it weird if girl starts conversation? Or he is not into me and I was wrong
The guy that sometimes stay near me during classes didn’t want to talk with me today?
Post Opinion