Why does he keep pushing me and pulling me back?

This guy I've been seeing for a few months is very confusing. One day he likes me the next he doesn't. He treats me like im annoying one day, wants me to leave him alone but then the next day he's blowing up my phone.

He has even gone far and played a prank on me with his female friend where the friend called me to tell me he had moved to another state and was dating a new woman there. I kept texting and calling him but no answer. I gave but a few days later he calls to tell me it was a prank.

Why does he keep pushing me and pulling me back?
Post Opinion