While my husband never did the complete push-away when he has been in depressive episodes, he certainly has increased needs for privacy and often blames me for many of his problems in an irrational way.
I can live with the lack of motivation, but the rudeness is what I find intolerable. That's usually when I call in the big guns.
I'm sorry you're going through this, and I can definitely relate