How to get my boyfriend to want me?

So I guess the title says it all really.

I’ve been with my partner 2 and a half years and everything else is great, he’s like my best friend, we cuddle up at night to sleep, we kiss and cuddle etc but

I see posts online and talk to my friends about their partners constantly wanting them etc and for me it’s the complete opposite. It can go up to a month before we do anything sexual and that may not even be full sex, and I’ve caught him masturbating before so I know it’s not that he can’t get it up.

We used to do it a lot and it’s just dwindled and I’ve tried to initiate (all I do is initiate tbh, he never does) If I don’t initiate, it wouldn’t happen and even then 99% I’m rejected. I have talked to him about it before, and just broke down and told him how crappy and insecure it makes me feel and if there is a problem I need to know, and he says nothing is wrong. I’ve also tried sexy underwear but I just get rejected again. He just is more interested in his phone at night but I just yeah idk what the point of this was I just wanted to get it out tbh.

I can’t talk to my friends about this because I feel embarrassed saying to my friends that my boyfriend won’t or doesn’t want to have sex with me.

Thanks for reading (whoever does!)