What could be the reasons for our breakup if this is the reason he gave me?

My boyfriend of a year and a half ended it with me 4 weeks ago. He keeps saying he wishes there was a reason because it would make things easier, but things have just felt “off”. I initially thought he wasn’t attracted to me anymore because we hadn’t had sex in 3 weeks prior to the break up before he ended it, even after I would try to initiate it. I brought it up to him and asked if he has lost attraction and he promised me it’s not that at all. Prior to the 3 weeks I thought things were perfect and I really thought he was my future.

He texts me constantly and we even hung out last week and slept together. I know it’s stupid of me. But he literally still talks to me everyday as we would when we were together except without being boyfriend and girlfriend.

I just want to know other peoples opinion on what they think the reasons could be of why he would have ended it if he still wants to talk to me everyday. I’m so lost!! And what remaining “friends” could mean? I’m heartbroken and don’t know what to do.
What could be the reasons for our breakup if this is the reason he gave me?
Post Opinion