Husband ignoring me for 2 days

My husband has been giving me the silent treatment for 2 days. Yesterday and today. I literally have NO IDEA why. The day before yesterday was fine and we had no argument or anything. Then yesterday morning he woke up and decided to ignore me???

When I asked him why he was randomly ignoring me his explanation was he was dealing with some mental stuff and that was it.

He did this a few months ago as well and I honestly forgot about it because the next day he was fine again. He says he needs therapy and then doesn’t go.

I honestly don’t think it’s fair that he can just decide to ignore me for days with no explanation. He says he can’t talk to me about whatever it is.

Today was our baby shower for our 2nd and he was acting fine with everyone else but barely talked to me. Then as soon as everyone left he was right back to acting like I didn’t exist. I opened our gifts by myself and made a comment that he didn’t even care about the gifts our son got. He just looked at me and didn’t say anything.

I’m so over this. I feel so lonely and trapped. Any advice.