When it comes to going somewhere, there are two types of people: the clockwork army and the daydreamers.
The clockwork army must get there on time. Actually, on time would be late. Ideally they are there half an hour early.
The daydreamers always intend to get there on time, but are easily distracted and if part of the plan falls down, they shrug and adapt. Running five minutes late won't ruin anything.
There's nothing inherently wrong with either type, but they clash when put together. If you know you are an opposing type, you have to make a real effort to keep the peace.
I prefer to socialise with people who are the same type as me, but this doesn't always happen, especially with family, who you can't choose!
I'm one of the daydreamers, so if I'm going out with a clockwork soldier, I have to force myself to get ready early as a few minutes doesn't make a difference to me, but I know it will wind the other person up to the point that it can put them in a foul mood. The key is to remember it's not really about you, it's about them - they'd get stressy no matter who the other clashing person was.
You married this man, so you must have known for ages you were different types - he was clearly getting stressier and stressier, and you weren't doing anything to placate the stress. If anything, you were making it worse. And then he blew up, and he pushed your buttons instead.
I think you both need to be more mindful to how you both handle timekeeping and what each other's triggers are. I'd expect a spouse of all people to spot a trigger and diffuse it - I mean that on both sides. You wound him up. He wound you up. Neither of you covered yourselves in glory.