Depressed husband

My husband is suffering from depression ever since I have gotten pregnant. We have been together for five years and this is our first together, but I also have 5 year old twin stepsons that we have full custody of. We tried for this baby and I don’t know why he was triggered by me getting pregnant. I’ve had a miserable pregnancy because of this as he told me he no longer wants to be with me and just wants to be alone. I’m scared for him. He has been through a lot in life, and he is putting me through a lot by making this a terrible pregnancy for me. He constantly snaps on me and took his wedding ring off. When we argue he acts like he doesn’t care at all about me. On top of this I’ve had every negative pregnancy symptom under the sun. I just needed to let this off my chest because this has been going on for 6 months now. Has this happened to anyone else and their husband pull through and their marriage saved? I know a lot of people on this app are quick to throw around divorce, but that’s not what I want for us or our family.I know he’s the one for me, I just need him to go back to being my husband and not this man he has turned into over the course of a few months.

Thanks for reading if you made it this far

Edit: I should mention that I have spoken with him on multiple occasions and it’s like talking to a wall that listens and doesn’t respond. He doesn’t want to go to counseling, he has too much pride for that. Our relationship was almost perfect before this happened and we were very much in love. It’s as if he is a totally different person right now. His ex cheated on him during the pregnancy with the twins which is why they spilt up.