Wht does it mean when a guy pushes you or hits you playfully when you pass him in the hallway?

i told my ex boyfriend I still like him an after that he pushes or hits playfully an he even tickled me. an I'm just confused because he told my friend that he didn't like me that way anymore.
Wht does it mean when a guy pushes you or hits you playfully when you pass him in the hallway?
Post Opinion