Not depression. Not anxiety. Person in question functions extremely well on a day to day basis; genuinely quite a cheerful, upbeat and sociable person with above average IQ and able to hold down a high pressured job, relationships and friendships without any trouble. However when something "bad" happens it plunges them into what can only be described as a black pit of despair. Life suddenly becomes overwhelming, they cannot possibly imagine anything ever being "right" again and the problem seems too enormous to solve. Everything is directed internally and they struggle to verbalise how they feel. It feels almost rage-like but the rage is never directed at anyone else, only internalised. Could be triggered by an argument with a loved one or a catastrophe at work.
A few hours later the despair has passed and they feel almost embarrassed at their reaction, but it is something they have no control over in the moment.
Is there a name for this?