@rosestar It is up to the individual, you can't blame the friend you just pushed away. That person might understand/know what you're going through and they choose to give up on trying to help you or they don't even know how to give a hand. Personally, I suck at being a shoulder to cry on due to my rational and objective state, I'd rather say "get your shit together" than "everything's going to be fine", and that's because "man does not simply exist but always decides what his existence will be, what he will become in the next moment". Also, you can't blame the depression, you made that decision. If you don't like someone's company, at least be true to yourself and don't point fingers saying that you are not the way you want because of someone/something.
@Barton Depression is not something that just comes and go daily or weekly, it's a mental state from which only the individual itself can find a way out of it. Yes, an external factor or person might help you out, but after all, the fight has to start from inside.