What's going on?

So there's a guy who is pretty much just a family friend now, he's known me since I was a child. He is friend's with my older brothers. He had a girlfriend, but he would always do things that would make me think he was flirting, like hugging me from behind, play with my hair bun, and just be really nice to me. He and his girlfriend since broke up a few months ago, I wanted to see if he was interested in me so I pretended to accidentally send him a sexy picture and said it was for someone else... he laughed it off... we would be really friendly in messages still, and I dropped another "accidental picture " again months after, and he laughed it off and then asked what was up because I did it twice already.. I told him how I felt and how I thought he was flirty and I started to grow a little bit if feelings for him. He says she doesn't see me that way and asks me how I though he was being flirty. I never really told him how I just left the condo where it was out of embarrassment. After that though it seems we started messaging more, and he put a love react to my recent Facebook picture. (Cont.. below)
Updates
+1 y
I posted a picture on my Facebook story later on of me being pregnant. I notice the messages were shorter. I seen him the day after at my brothers' after I asked if him if he would go, he showed up smelling amazing and looking so good. We chatted a little bit there, but not about the flirty stuff or my pictures. He gave me hugs per usual but it wasn't like it use to be before my previous picture. He started becoming absent or an asshole in the messages between us, which is not like him...
What's going on?
Post Opinion