I'm surprised the article doesn't mention Dr. Gabor Mate at all.
His work fully outlines how depression & stress can be a coping mechanism when we're not able to express needs or emotions.
I highly recommend everyone to read and apply his approach to managing stress and psychological wellbeing.