Not mine, but my sister's ex husband was like this.
He'd either be rude and 'slammy' or he'd just sit in the corner and ignore us completely, wouldn't even say hello or goodbye. He didn't like her going out to see family either, they had children but they never went anywhere together as a family apart from his parents, but if she went out to visit our mum with the kids he would ring her up and guilt trip her by saying he had made plans to go out as a family that day but they couldn't now because she'd already gone out, she'd very often end up in tears over it, because he'd then give her the silent treatment when she got back for 'ruining' his plans. I honestly prayed for the day she'd tell him to 'stick his imaginary plans up his arse' and just carry on as she was, but she never could. I hated the fact she picked a prick like this to start a family with.
To be honest it annoys me that people pander to this sort of thing! It may be very black and white of me but I don't understand how you can even be in love with someone that behaves that way. I think it's like any sort of abuse in a relationship though, it builds up bit by bit until you're a shadow of former self and you think you're in the wrong, and you're trying to change your behaviour to suit them all the time, at the very least It's ignorant and selfish at the most it's controlling and abusive, none are acceptable.
If you feel comfortable with doing this and for the sake of your visitors who are walking into that atmosphere, then address the elephant in the room when it happens! Just say to your guests in front of him 'sorry about DH, he hates having anyone round apart from his own family, so he'll probably act like a shit until you've gone, but don't pay any attention, it's him that in the wrong' If he goes off in a huff then fucking let him, you then GIVE him the silent treatment, DO NOT pander to it and do not accept him treating you this way, otherwise I doubt it will stop there.