I had sex with a friend, did he just use me for sex, still in love with his ex, or was he upset I didn’t want more?

I have a friend who had a girlfriend but she left him for reasons unknown. He was about to move in with her but she got cold feet. He would vent to me about it and I could tell it affected him. He would call me all the time and we would talk all day almost every day. He kept showing me interest but I didn’t show him interest back because I knew he still had feelings for his ex. He would always invite me over and we’d play the video game and stuff. One day I was over, I displayed interest back to him and he took that as a ticket to make his move. It’s not something I’m proud of but the next I went over and we got drunk and had sex. I left right after. I felt the sex was good but he took the intimacy out of the sex for me. I’ve never had sex with someone in that way before. I left right after. He made sure I made it home and he texted me the next morning to make sure I got up in time for work. He still calls but he makes it really brief. I started to go back to the old ways like me talking to him about dates that I’ve had and things we normally talk about. I told him that I didn’t want anything more with him but I would still love to be his friend. He agreed but has still been distant. I’m very hurt because I feel he was never truly my friend, after 8 months he finally had one night with me and fell back. I feel used. Especially after expressing how I refrain from having sex with people for that very reason, wanting something special.

I had sex with a friend, did he just use me for sex, still in love with his ex, or was he upset I didn’t want more?
Post Opinion