Can a SOs depression break a relationship?

I feel like breaking up but not sure if it is wise to given his mental health. it's like my bf loses respect for me when he's depressed and is easily irritable. I am stretched thin and am trying to help. but when he makes fun of the way that I talk or when he asks for space "away from me" or whines to me when I ask him questions about what he is going through at work -- the place that's cause him depression (literally the sound of his voice changes to whining when I ask questions) -- it makes me feel like I want to break up. but I understand depression be like this sometimes. you are easily irritable and very sad. so I want to be here for him, but the whole time I feel inadequate because I feel like me interacting with him or trying to help just makes things worse by making him irritated and disrespect me. it is also causing me to have depression.

do you think I should stay or leave? comment below.

I guess this ended up being two questions instead of one.

Vote below to see results!