Depressed Boyfriend...help!!

Ani • I'm 17 and in love! 😁
Me and my boyfriend had a really strong relationship: we'd text every day for hours, hang out a lot, support each other. We'd also flirt and joke often. I could talk to him about sex and he'd be open about everything. Talking to him always made me happy.
Recently my boyfriend is having a family transition, so he's having a hard time. He works way more often than he should and he's not getting enough sleep at all so he's always stressed.
 Recently he's been ignoring me and when we do talk he's really rude to me and just blames lack of sleep.
 I tried talking to him about talking more, and he said he couldn't but it would be temporary (until he finished training at work)
 Now he just makes fun of me and treats me like a booty call. It makes me sad but I really care about him and don't want to leave.
We've been dating for 6 months and he's showing almost all signs of depression (along with being a jerk). What should I do?