Nobody likes you when you're depressed.
Plain and simple. We can talk all day about mental health and how important it is, but the moment you are depressed, people start to distance themselves. They see you as negative, a burden, and someone too heavy to handle.