Lack of sleep can exacerbate an existing mental health condition or increase your risk of developing depression, anxiety, bipolar, and more.
Some kinds of depletion have nothing to do with how much you slept or how hard you worked. It comes from the life itself.