Guy help!?!?

So this guy said he doesn’t like me and stuff but treats me like a girl he likes. Like he will casually say cute things for me, stay up and talk about stuff for me, and tells me he wishes I was there with him. I just find it so weird and out of place if he does that stuff but acts more than just a guy friends sometimes