AITA for not reheating the dish?

Hi everyone! I apologize in advance for my poor english.

I (26F) have been with my boyfriend (32M) for 5 years.

He works longer hours than me, so he usually is home at 8:30-9PM.

Yesterday I was working from home. I had a really rough day due to an endometriosis crisis (at some point I couldn't stand up). I try not to take medecine everyday because they are strong morphinic painkillers.

I finished working at 5, and then went to get some groceries, put the laundry in the machine and cooked the dinner. As my boyfriend wasn't home, I put his dish into the fridge and ate mine.

When he got home, he was kinda grumpy. I was in bed because I was again hurting a lot. He told me to bring him water and his meal. I reply I couldn't because of the cramps. He told me :"fine, then I won't eat and I will be thirsty, I have a stomachache too you know".

I told him to get the dish from the fridge and just reheat it, but he wouldn't and just said :"Ok so when I ask for water and some food, I just can't get it, understood." Then he told me he will not come back next week because I treated him poorly (he owns an appartment).

I think I could have take a medecine and just suck it up for peace. AITA?