An enlarged salience network may be responsible for depression in some patients[0]. Some individuals are pre-disposed to being depressed and it may be a chronic condition, like any other chronic condition. For others, it could "simply" be a chemical imbalance that taking medication for a set period of time resolves (lucky them).
[0]https://www.nih.gov/news-events/nih-research-matters/mapping...