Noting everything, it seems quite plausible boredom can be a trigger for depression and vice versa. Literally everything that causes boredom can also cause depression and the symptoms from both are trigger for each other despite being different enough.
0] Relationships between boredom proneness, mindfulness, anxiety, depression, and substance use:
http://www.azmonyar.com/DownloadPDF/15562289.pdf
1] Proneness to boredom mediates relationships between problematic smartphone use with depression and anxiety severity:
https://journals.sagepub.com/doi/abs/10.1177/089443931774108...
2] Traumatic brain injury, boredom and depression:
https://www.mdpi.com/2076-328X/3/3/434
3] An open label pilot study of citalopram for depression and boredom in ambulatory cancer patients:
https://www.cambridge.org/core/journals/palliative-and-suppo...
4] Characterizing the psychophysiological signature of boredom:
https://link.springer.com/article/10.1007/s00221-013-3755-2
5] Cortisol Secretion in Depressed and At-Risk Adults: