Depression is a complex situation because it integrates many aspects, for example: if I feel anger, it is because I feel powerless, thus frustrated that you cannot change “the thing that keeps you depressed”. Or, If I are am an egoist person, then others will start to stay away from me because I am bitter, self-centered, and I will become lonely although surrounded of people.
A possible reason we react with anger is a deceiving self-image that leads you to depresion.
If you are depressed, it is most probable you want to be left alone. All this is an unconscious process, unless you make it conscious… How can you discover if this is real in you? Most of the time, while being in depression, we live denial.