Pet theory: It is a protection from negative emotions
Someone experiences too much sadness and other negative emotions, so the brain tries to stop the negative emotions by shutting down all emotion processing. Then you do not feel so many negative emotions anymore, but also no more positive emotions. You just do not feel anything. Since motivation comes from emotions, you also lose all motivation to do stuff