Sorry to hear that sapphire! He sounds depressed tbh, that's how DH acts when things aren't going well at work.. He expects every other area to be crap as well, so pushes everything and everyone else away and goes on "self-destruct", and when the wife doesn't have the time/energy/inclination to keep reassuring them constantly then they just don't bother anymore! It's bloody horrible! It's taken us starting to divorce and him sleeping in the spare room for a couple of months for him to realise what he would be missing. Unfortunately he still slips up and mentions the 'D' world when we're arguing, but I think he's starting to realise the damage that causes, as he may be able to forget it after an argument but I certainly don't.
Have you guys considered counselling, either relationship counselling or some CBT for his issues?

I am doing online CBT at the moment for myself and have been doing some research and printing articles/research relating to our issues, and have been gently approaching DH with them (one of our issues is him never wanting sex, and I'm finding "More Sex Daily" website quite helpful for dumbing it down for him.. I found one on the male midlife crisis here

https://www.moresexdaily.com/thesexthieves/male-mid-life-crisis/ ) I'm making a big song and dance about how actively making positive changes in my life (online CBT, research into what changes
we [not just him] can make as a couple, and taking up pole fitness) has affected my mood and how it's affecting our relationship for the better, and encouraging him to do the same, and praising him when it goes well. It's like living with a 5-year old sometimes with the amount of reassurance and praise I'm giving him, but it seems to be doing the trick for now
I'm blabbing honey, sorry! I hope things improve though, and maybe the move will do you good
