Don't accept it.
Call him up on it, tell him it is not ok for him to give you the fucking silent treatment for trying to have some family time.
Tell him he is choosing his hobby over his family and it is NOT ok
Don't be accommodating! Make your own plans, see friends and just be honest ("DH? Yes, he is not here, he is anti-social again, let's not worry about him. I'm not.")
I was were you are 5 years ago, and we still edge back to that every now and then.
Sad maybe, but I told the kids not to count on him for weekends, and we did things without him. We even went to family do's from HIS side of the family (I like my ILs, I want my kids to spend time with them). I got the boys and myself a swim pass to an outdoor pool. We went out with friends.
We were definitely not waiting at home for him to change his mind.
We were out, we had fun, and he started to feel he was missing out.
I remember him coming back from a day out on his "hobby" thinking he'd come to a house with all of us waiting, a meal cooked.... oh no. We had gone out to a bbq at friends, did not even tell him about it (petty?) and came back to him feeling sorry for himself.
It was not a strategy for me to change him. I was detaching, basically figuring out if I could live without him. And I found I probably could, that I did not need him. I stopped asking him to spend les time on his hobby. I just did my own thing, and made sure the kids spent lots of time with their friends and family too.
The tables turned and he became very remorseful, told me he had been selfish, apologised for his selfish behaviour,
He quit his hobby. Thinsg changed, he started getting more involved, taking kids to some of their sports activities, started playing with them more, started coaching their teams. He desperately tried to make up for lost time.
Maybe it does not sound ideal to you, I can quite imagine it doesn't! But by having confidence in myself and my independence, the marriage could work again. I had to give up on him, for him to turn around. I am too proud to nag, or walk on eggshells I guess.
Not sure what I am rambling on about, just to tell you to take no shit and let him fester and do your own thing.
Don't pander to his moods!