Did he really mean it or said it out of anger?

Today I argued with my boyfriend prob ex now. He told me all the cooking and baking I did for him meant nothing to him and hearing that hurt so bad. And he told me he is willing to break up and said shit like didn't you want to break up a while ago? he said two times. and everytime I wanted to say something he didn't let me he interrupt me all the time not letting me talk and when I was talking he began interrupting again. what's more funny he was talking about breaking up but then 20 min later about me coming back. I'm just confused and really hurt. especially about the baking and cooking he was always happy to receive it from me but today told me out of nowhere (I didn't cook or bake for him since 6 months now) that my cooking and baking meant nothing and made him uncomfortable
Did he really mean it or said it out of anger?
Post Opinion