Relationship advice?

I started dating this guy I was best friends with for a couple of years and we only dated for 3 months but I can tell he started to push me away. So he decided to end things and said he just wanted to be friends and wasn't ready for anything. He still flirts with me and tried to be touchy touchy with me. He brings up old memeories and little inside jokes with me. Why is he acting like this? Is he scared to be in a relationship? He's soo active on my social media, liking and retweeting everything! I want to work things out with him because my feelings for him are still strong
Relationship advice?
Add Opinion