Depressed people detach socially from their support network because that feeds the depression, and any plausible explanation feels as true as any law of physics. All you have to do is pick one: "These people don't care about me/They can never understand/They are better off without me as I will just hurt them."
One way I describe depression is that it's a detachment from reality. Whatever reality you are actually in, depression bends and warps it to such a degree that mentally healthy people could not understand even when described to them.
I am fortunate in that I don't really suffer anymore; as I was "getting better" one thing I came to embrace was how little sense it made. For awhile I kept a journal, and if I read the entries from the bad times aloud, I'd be constantly apologizing for them and admitting that the feelings didn't make any sense. I intellectually understood the meanings of the words, but the emotions behind them felt foreign. I mean, I remembered feeling that way, but I couldn't understand why. As things improved, I was able to get to a place where I could just resign myself to being hopeless for no real reason, but with the understanding that, in my case, it would fade on its own.
That wasn't the "fix", but just an interesting step along the way.