He ended things but still contacts me?

I’m new to the whole dating thing. I’m 22, he’s 24. Anyways, this guy was initially really into me from the start. As time went on I started to really like him because he was so persistent. I started to act more and more into him every time we hung out and I think that pushed him away? Idk. (We never had sex)

He started to act distant so after a week of unsureness I asked him what’s up and he said he just doesn’t think he has the time for a relationship and how he thinks he’s a “shithead” and he still wants to be friends. I agreed.

A week of no contact he comments on my snap story (about my new haircut) and playfully converses. What should I think of this?