Depression makes sense but not because of the drug so much as because trans tend to feel emotionally better when they've got a hormone balance that better aligns with their inner self.
Spironolactone alleviates a significant source of my body dysphoria which makes me feel better, which makes me less unhappy. but it's not because removing depression is a side-effect of spiro.