This is tough to deal with. To me what I see is that it has nothing to do with the Easter basket. It's looks like it's about the dynamics between you and your husband.
I have totally been in similar situations like this (with my stbx) so I know how upsetting and hurtful it feels. First, he discounts your efforts and insults you with the "it shouldn't be that hard" comment. Ouch, not nice. And then telling you to "shut up" is just WRONG.
Your actions also say something IMO. You're hurt and don't feel respected and this is not the first time something like this has happened, right? I totally get that as well.
I too have exploded at my husband for being an arse. One time he criticized me on my cleaning skills and I lost it by telling him to "get out of here" while, I might add, throwing a plastic bowl of scrambled eggs across the room.
It sounds like you might be at the point where I was 10 yrs ago. I agree with others in saying that 2 wrongs don't make a right. But you also get to a point where you just lose it and snap. After all, you ARE human and can only take so much cr*p. Throwing scrambled eggs in my case was wrong but it sure felt pretty good, I have to admit :)
Things to consider asking yourself:
How is your husband on a regular basis with other disagreements?
Do you consider the disrespectful comments to be a pattern?
Is so, do you react OR respond?
How does your FIL treat your MIL?
Is it similar to how your husband treats you?
Just some things to look at because like I mentioned, this didn't happen just because you bought m&m's.
I would suggest therapy for yourself and then maybe joint therapy if you can get your husband to go with you. The other suggestion I have is what someone else mentioned. Disengage when things get heated. Try not to lower yourself to his level. That will only make things worse. You dont want to react to what he is saying, just respond when you're calm and explain how he made you feel.
For me after many years I didn't want an apology because it was meaningless. If your husband is going to apologize he has to mean it and stop the disrespectful attitude. If he tells you to "shut up" tomorrow then his apology was pointless. See what I'm saying? If you have to ask him for it then he's not really sorry.
Lastly, please read "Boundaries" by Townsend & Cloud. It will help you both but will also help you teach him how you want to be treated.
HTH!
Good luck!