I feel like a bad friend

Melanie

So (background) I have this friend we'll call him "B" and I've known him since I was in 8th grade and I have another friend we'll call her "S". Anyways they kinda started talking and I just reconnected with B and since I knew they were texting I decided to ask him if he's talking to anyone S was cool with me asking but he said no so I just thought maybe he just doesn't want me to know so I then asked him again to clarify and I said " so you don't think anyone is cute or anything at all ?" He said no everyone here is ugly and I was like ok then he said "well of course except you" and I kinda froze and said thank you. But he was suppose to go out with my friend S yesterday to watch flatliners and he stood her up before that he wasn't talking to her all day and I said oh lemme see if I can reach him and she said no it's cool after I already texted him and long story short we talked but idk I feel bad for liking him still like I know he's was an ass to my friend but I can't stop thinking about him.