Why can’t I want sex😭

I feel so self conscious and alone with this, which is why I’m posting anonymously...but for the past year or so my sex drive is basically NONEXISTENT. my boyfriend and I have gotten in many arguments and discussions about this because obviously he is sexually frustrated and honestly i should be but i don’t feel like i am. We have had sex in this time and every so often I’ll go through a like 2 week phase of constantly wanting it, but for the most part i simply have no sex drive. We used to have sex literally every single day at least twice and i loved it...then out of NOWHERE i didn’t care to do it whatsoever...?? I’m so in love with my boyfriend, the sex is AMAZING every time and I know these things but even thinking about how good the sex is doesn’t get me going...and I’m so scared that I’m going to drive him away with this. I don’t know what is wrong or if i can even fix it but I need to so that I can be sexually active again and i can have that closeness with my man again. He doesn’t get mad and say like “ok well i need sex so what the F, I’m gonna leave you”, but i can tell that CLEARLY he is sexually frustrated. Idk what to do and i feel so alone and weird because I have NEVER had this problem and i have been sexually active for about 5 years.