I don't understand why he keeps stopping himself from liking me?

I feel like I'm on a roller coaster, he acts like he doesn't like me making it seem like he has 0 interest in me and only likes me as a friend. Then he teases me about other girls and then he will say, " I'm just kidding I just want to know what you will say " but then he will get jealous when he sees a guy talk to me or when I hug guys that I knew longer than him. So yesterday he just kept saying how sweet I was and I shouldn't be around him. He then asked if I was trying to make him like me by hanging out with him everyday, I said no because I know he doesn't like me and he said he did like me that's why he hangs out with me almost every day and all night. So last night at my house he sat really close to me on my bed ( I was laying down ) he then let me play with his hair ( which he doesn't let anyone touch it, ) while I was brushing his hair my breasts was on his back I can feel him leaning more on them even more and a couple of times he wanted to turn around to face me but he kept stopping himself. Then all of a sudden he pops up to smoke a cigarette outside. He knows I like him so I don't know why he stops himself.

Updates
11 mo
He also asked if I liked him more as a friend, but I don't know why he even asked since it seems like he's not interested in me?
I don't understand why he keeps stopping himself from liking me?
Post Opinion