He stopped talking to me when he got a girlfriend. why?

so I met this guy almost a year ago. we had been really close friends until he suddenly gets a girlfriend. he hadn't told me about the girl and I was happy for him of course, but then he just stopped talking to me and I really don't know why.

he had told me earlier that he had feelings for me and sometimes he texted something like "come cuddle with me, I'm lonely" or "you're a doll, I wish you were mine". I really liked the guy but only as a friend and I told him that.

I've spoken him once on skype since he started dating this girl. he wanted to see me so I put my cam on and he said something like "you're the prettiest girl in the world." I answered "what about your girlfriend?" and he said "you are way cuter than her. nobody's cuter than you." they had been together for several months when this happened. gahhh this is so confusing and I don't know why he's acting like that. should I just like, leave him alone?
He stopped talking to me when he got a girlfriend. why?
Post Opinion