When the depressive mood comes, something has gone. The mind could no longer compensate for the pain and the ego recognizes only futility.
Consciousness now has two options: It can go shopping or it can approach its God. It can paint over the pain again or it can lift the veils and discover the meaning. Either way, the vacuum that has been created must be filled again. Either with matter or with soul.