ETA: I do agree with many posters that reaching out and having that hard conversation with your friend *might* be a good idea. However, I would caution you to be very thoughtful about this? Does this friend of yours seem to have a lot of drama in her life usually? Does she seem like she might take what you said back to him in a moment of anger? ("P. M. said you're an abusive bastard...") The reason I bring this up is that he has already shone poor judgment and violent behavior, and I would not want him to bring this on you in retaliation, both to prove his point to her that he's in charge and to scare you. Your friend has made her decision(s)--just saw your SWH-- I don't think your concern will change her mind.
""Hey I want to apologize for my husband. He knows better and that's not acceptable."
First, it's not an apology. It's an apology from her, but not from him. It's just her way of flailing at some sort of damage control.
Second, he does things he 'knows better' not to do regularly. Pointing a gun in someone's face is certainly in that category.
Too much drama for a healthy friendship.
What I would do: the friendship needs to take a break. Me being me, I'd tell my friend straight up: "I love you, but I will not be calling or texting you any more. Your husband is attacking me personally and you might choose to be in a relationship with this guy, but I didn't ask to. I don't want to. And I am tired of you making excuses for his behavior toward me. You can make all the excuses you want for how he treats you--which is abusive, and you need to get some help-- but you cannot expect me to ride with this any more."
You may lose the friendship. She's unwilling to save herself and she's unwilling to draw the line. This may also be the wake-up call she needs-- that you are fed up and can't pretend any more. I'm sorry-- it always hurts to lose a friend and I am sure you are more than worried about her. But she is the one who most needs to worry about herself and that's just not happening. I hope you can find a place of peace around this.