Why is my ex boyfriend acting this way?

So my ex and I have been in contact a month after the breakup until now It's been almost 6 months since we broke up.
He doesn't want to get back together but he likes talking to me almost all the time and he wants to hangout with me a lot and he even tells me he misses me and the last time I met him he whisperd to me that he loves me and he kisses me and hugs me all the time and be gets jealous of other guys talking to me and stuff... why does he act like my boyfriend when he actually isn't?
and also I pranked him that I'm traveling for like 5 or 6 months and he got very upset he told me he doesn't like separations even though were not together anymore but that he hates goodbyes and he hinted to me and tried telling me that he doesn't want me to go but he didn't say it stright forword.
why is he acting this way?
Why is my ex boyfriend acting this way?
Add Opinion