Lost sexual attraction?

Me and my boyfriend have fought a lot lately and it makes me not want to have sex with him.
I'm just not in the mood when he pisses me off all the time.
I otherwise enjoy spending time with him. But I just don't want to have sex with him anymore. I just don't feel sexually attracted, but I still love him.
I know that sounds super weird but is this a sign that my feelings are starting to disappear?
Correspondingly, whenever I tell him I don't want to have sex he gets upset and begs me. Tells me he feels "unattractive". So like, that just makes me want to have sex with him less because it comes across as extremely whiney.
I'm in my early 20s and have never had this happen to me before and I'm not too sure what to do about it?