If I'm reading between the lines well right now, he's got something that's come to his mind that's troubling him and he's sort of pushing you away to get some space-- he might need a couple sessions alone with his therapist.

While I can't say for sure and obviously the best answers would come from your husband, the fact you see him drinking more and making jabs towards you tends to speak out that he's wanting to wall up.

While I'm not really someone that should give out lots of relationship advice as I'm still pretty young/inexperienced, I think that it's best to try and connect with some good friends and talk with them a bit and give him some wiggle room, but remind him that you're there for him and that you still love him should he need to talk to you. A lot of times, guys just have trouble saying they need room in a blatant way.