I like someone with Depression. Help?

I've been talking to someone I like very much. We had decent conversations and met up once at his place. I met his dog, he gave me books since he knows I'm a huge reader and of course we had sex. The cuddling and conversation after was amazing. I loved being in his company. We both agreed that a realationship sounds good and that we'd work towards one. The next few days his texts aren't as frequent. A week later and he's barely answering me. He'll answer what he wants and ignore everything else. Naturally I told him off and asked him not to play with my feelings. He tells me he's just busy and to chill out. Another week of talking to myself and barely knowing someone who "wants a relationship" and I'm fed. So again I ask wth? He says he's at a point where he just wants solitude and he's just down. I took it as he doesn't want me around period. (Apparently he was asking for space for the moment) and I kinda cursed him out and said he wasted my time. We argued and it hit me that he might be depressed. He told me idk what he's going through but he refuses to talk to me. I apologized for misunderstanding and blowing up but am I wrong for not wanting to be ignored and shit out when I offered to be there for him all month? I really like him but idk...should I leave him alone and let him deal with it or should I keep trying to get him to open up?