He called me pretty. Why, though?

I've been talking to this guy for a while now. He's in a lot of my classes and we usually sit right next to each other. He looks at me a lot during classes. I got his number a couple of weeks ago, and I trended him on FB this week.

He started messaging me this week and we've talked on and off all day long for the past 2 days. We were already sort of close at school, but he's really begun to one up to me. I opened up to him about a few things and then asked him what his first impression of me was. I asked because I wanted to know if he thought differently of me now that he's gotten to know me better. He told me that he thought I was really nice, funny, and pretty.

Why did he say that?

I'm only asking because he just doesn't seem like the type of guy to say those things. I wasn't even asking or thinking that he was going to compliment me. It completely took me by surprise hen he said that. I can't tell if he was flirting or just being nice.
He likes you./He's flirting.
He's just being friendly.
Other. (write in comment section)
Select gender and age to cast your vote:
Updates
+1 y
He also constantly tells me I'm sweet and smart. One of our friends even told us to "just date already." When he said that, I said I had a bf (which I did at the time) and he said that he didn't want to date at the moment. Why didn't he just outright say he wasn't interested in me?
He called me pretty. Why, though?
Post Opinion