It's about brain chemistry, or so my sister says, she's finishing her BA in psychology. With the right medication a clinical depression can be medicated away, with the side effects of the medication to consider of course. A brain scan will diagnose it, and no amount of therapy will work on the core problem, which is medical, not psychological.
Well obviously both, but for the purposes of identifying the cause, it's medial.