The way I think of it is that the TMS mechanism was designed for the primitive wilderness, when threats to our physical survival were real and very simple to comprehend. Physical survival was the goal. The mechanism worked well enough that we survived and bred and increased. But it works for shit in the modern world where we don't face just a few simple physical threats, but instead are bombarded with constant stressors that are threats to our mental health.
A mere 5,000 years or so is not enough time for our brains to evolve to recognize and manage these completely different stressors. Thus, whenever we feel stress, our brains assume we are in life-or-death physical danger, and they will do anything to get us to avoid the source and find safety, preferably at home, huddling under the covers.
Quality of life is not a consideration. Mere physical survival is the only goal.