I used to talk to this guy for about a month, in text and in person but then he ghosted me, but in person is still friendly, why?

I’ve known him for few months but we became friends like two months ago. He got what he wanted from me and then just stopped texting me or sending snaps like he used to, I was cold to him and he asked if I’m okay, he keeps acting dumb but I don't know if he knows what he did wrong or he’s actually clueless, but he keeps talking to me like nothing happened, what should I do? I actually liked talking to him, he keeps viewing my stories on social media but doesn’t text or call.
I used to talk to this guy for about a month, in text and in person but then he ghosted me, but in person is still friendly, why?
Post Opinion