Well it sounds like most of us really can't! She's probably just having a moment of irrationality as we all do from time to time. There's probably something else going on but I doubt it's worth it to try to figure it out.
Did she say why she was upset? Is she worried she's eating too many? Just that she thought it was a prank and not nice?
I don't think you're an AH, but it does sound like your wife might be insecure about how much chocolate she's been eating. I'm picturing her telling herself "I'll let myself eat this much but then I'm back on a diet!" Or something to that effect. Then come to learn you've been foiling her plan in the background. Which is also something someone who is insecure about stuff might not want to say: that they are on a diet or worried about eating too much.
All just a bunch of assuming.
I really really enjoyed the second one in particular.
I wasted my youth not reading this beautiful series by Ursula K. LeGuin and I thought it deserved to be the first post here. Having read so much fantasy over the years, I can see so much of it in the books that have come out more recently. It's the type of book that is written so that every single word has a purpose, and doesn't languish in one place or another. I highly recommend the audiobook version as well.