I've been involved with a yeller or two. I learned that for some people, yelling is just a habit picked up from their parents. Their parents yelled, so they yell, because they think yelling is just what people do. They may not even mind when others yell at them, or understand that others mind when they yell.
With my yellers, I waited until a time when we were both calm, and I explained that angry yelling upsets me a lot, and I'd appreciate if they'd work on communicating without raising their voice. I told them I wanted to listen to them and understand why they were mad, but that's hard for me when they yell. They agreed to try to yell less, and they were generally successful.
That's the difference between someone who yells out of habit, and someone who deliberately sets out to frighten and hurt you with yelling: How they react when you ask them to change the behavior.
If your husband knows yelling upsets you, and makes no effort to curb the yelling, then you should assume he simply likes upsetting you. I would handle such a husband by divorcing him.