Everyone is passive aggressive sometimes. Sometimes without even realising it.
OP, I'd put it down to one of those crazy days and you might well laugh about it in future.
I've had it happen to me, though differently - last Christmas. It was the day the children finished school for the Christmas break, so I'd gone to church with them (church school) for the Christingle service, which is boring, and bullshit, because its church (yes I know I chose to send them there etc etc) and I'd turned up early to get a seat and frozen my tits off sitting in a church colder than a fridge, got a numb bum etc. But I had this idea that I'd do a cracking dinner for everyone to kick off the festive season. So I put a gammon on to roast, with roast potatoes, parsley sauce, peas, etc etc, and made a sticky date pudding from scratch which was in the steamer. I had my playlist of super christmassy cheesy songs that the kids like on the stereo in the kitchen, and the kids were all excited.
It got to about 6pm (he's usually home around 7pm) and I texted him to say "let me know what train you are on sweeetie, so I can time dinner). I didn't hear from him. Very unusual, he's normally on a train by then or about to leave so he can predict a train. I waited. And waited. The kids kept asking when dinner was - they were starving. I finally heard from him at 7:45 - "sorry was in pub, will be on 8pm train". Which means he wouldn't walk through the door till 9pm. So I fed the kids, put them to bed, switched off the stereo, made up a plate for him which I left on the kitchen table and went to bed with a bottle of wine.
So he walks through the door and I was perfectly pleasant but slightly distant (it seems passive aggressive, and it is, but it was all I could muster at that point). I muttered that his dinner was on the kitchen table. It wasn't till he went through there and saw what I nice dinner it was, and the pile of dishes in the utility room awaiting the next dishwasher load, that he realised what an effort I'd made and what he'd missed.
He felt really bad but in honesty we'd both been guilty of miscommunication. He didn't know that he wasn't to be getting something shoved in the oven from the freezer that wasn't worth rushing for, and I didn't know he was planning to go to the pub (I would add that he seldom goes to the pub after work - its a long commute and a long day and he generally just wants to get home and see us - but it was that last day before Christmas thing so he went along with it anyway). Ideally, I would have texted him in the afternoon saying I was planning a special dinner, and ideally, he would have texted me saying he was going to the pub. I could have put the dinner off till the following evening easily enough. It wasn't about the dinner really, it was that "its now the holidays" atmosphere I was trying to create which fell dead on its arse.
Not the same thing as what happened to you guys last night but you can feel a bit used when you do dinner and don't hear from the person. But he had plenty of information to go on last night, so he jumped the gun a bit, possibly felt foolish, and turned it back on you.
Anyway hopefully just one of those crazy nights, put it behind you 