he yelled at me because of my sister

My husband and I have known each other for pretty much our whole lives and my little sister is like his sister (she's 17) and so today we all went out for lunch. My husband is working very hard lately and very long but he promised her us 3 would go grab lunch together. So on our way back to the car her phone fell and broke and she immadiently started bitching. 
Now I'm a person who HATES when people whine about materealistic stuff but I understood that she's pissed because it literally shattered. 
So we're in the car and she's all bitchy and disrespectful and she's been like that a lot lately towards me so I just 'yelled' at her in that second. Not even too loud just her name so she'll look up at me but my husband got like soo angry and was like "why are you yelling at that child" and I'm like dude she's 17. We went home and were fighting for literally half an hour and the topic wasnt even about me yelling at her anymore he was just yelling at me so loud.
We barely fight just sometimes but not that much he honestly yelled at me and I yelled back at him. I don't know if I'm wrong or if he is.
(I'll stay anonymous that's why I "update" this instead of commenting)
Btw I'm not angry because he's yelling at me because of my sister because we're family we all grew up together.