My boyfriend has depression, I need help

i am only 19, very young I know but me and my boyfriend have been together for 4 years, a year ago he moved away, only around 2 hours or so but we don’t get to see each other often. Since telling me he has depression he has been consistently ignoring me for days on end while posting on various social media’s and talking to others and on days when he does reply it’ll be very short and distant. He says he still cares and loves me, I understand it isn’t his fault but I am beginning to feel very emotional, lonely and as though I have done something wrong when I all I want to do is support him. He hasn’t put any effort into our relationship what so ever, I’m at a point I can’t even focus on university or myself and I am constantly upset. Does anyone have any advice? I feel so selfish and out of order for even feeling like this considering his situation but I am crying for hours on end too often.