I hate coming to the Internet with this problem, but my boyfriend is asleep and I have no one else to talk to about it. 

My boyfriend of 8 months is a grad student he is an amazing guy and loves me and others, but sometimes when he stresses out and school is going badly he goes into a depressive anger state that is taxing on my emotions. Again he is an awesome guy when he's not like this, but these depressive state make him hate the world and everyone and he gets pissed off at stupid little things that just make his day worse. He gets like this and then I basically need to talk him down, which leaves me upset because most of the time I end up just leaving him alone to cool off on his own. I feel so helpless because of this and I'm not sure what to do. I've tried talking to him several times about it, but it just makes him feel worse because I'm the one he trusts the most. Please help, I don't want the relationship to end but I just get less and less emotionally attached when this happens. 

Edit: It's hard to explain our connection, I know a lot of responses to this will be to leave him he's abusive and what not. Well I've learned that deep down he's sad and broken and just really needs a friend to comfort him when he's sad. His way of dealing with sadness is kind of destructive, but I still feel connected to that deep down pure sadness that makes me want to help him. 

Edit2: I have taken the abusive relationship test and we scored well below the "concern" level. 

Sorry for the wall of text. 

Please don't upvote, I don't really want visibility on this post.
user
boyfriend is depressed and angry
assistant
I hate coming to the Internet with this problem, but my boyfriend is asleep and I have no one else to talk to about it. 

My boyfriend of 8 months is a grad student he is an amazing guy and loves me and others, but sometimes when he stresses out and school is going badly he goes into a depressive anger state that is taxing on my emotions. Again he is an awesome guy when he's not like this, but these depressive state make him hate the world and everyone and he gets pissed off at stupid little things that just make his day worse. He gets like this and then I basically need to talk him down, which leaves me upset because most of the time I end up just leaving him alone to cool off on his own. I feel so helpless because of this and I'm not sure what to do. I've tried talking to him several times about it, but it just makes him feel worse because I'm the one he trusts the most. Please help, I don't want the relationship to end but I just get less and less emotionally attached when this happens. 

Edit: It's hard to explain our connection, I know a lot of responses to this will be to leave him he's abusive and what not. Well I've learned that deep down he's sad and broken and just really needs a friend to comfort him when he's sad. His way of dealing with sadness is kind of destructive, but I still feel connected to that deep down pure sadness that makes me want to help him. 

Edit2: I have taken the abusive relationship test and we scored well below the "concern" level. 

Sorry for the wall of text. 

Please don't upvote, I don't really want visibility on this post.
user
Boyfriend goes into depression state
assistant