What does it mean when a guy pretends that he is going to kiss you?

I know this sounds a little confusing but, I have this guy friend that I've known for forever. One night he kept putting his hand on my cheek randomly and leaning in acting like he was going to kiss me, but then he'd just pull away and smile. Please someone help !!! I don't know what this means.
What does it mean when a guy pretends that he is going to kiss you?
Post Opinion