In the case of crashing a program, maybe it's because of a misused raw pointer or a type error in an untyped language. As soon as you frame it that way, you immediately see possible paths forward to improve the situation.
In the case of burnout at companies, I've found it has more to do with the mindset of the top leaders (who other managers down the chain tend to emulate). The mindset is that the company is "a machine", which makes the rest of us "cogs" (or pick your favorite machine part).
The leaders may be perfectly nice and considerate people in general (or not), but regardless, the company-as-machine mindset leads them to set aside their humanity in the interests of the company. All of sudden everyone on the team needs to be replaceable, have predictably high output, etc. Those might be fine concerns for a business, but they end up blinding managers to the flesh and blood human beings in front of them and they start to see employees as the means to the greater business ends of output, productivity, growth, etc.
I believe this is an issue of human development that affects most companies eventually. Only companies with really developed leaders who, when faced with serious pressure, are able to see people as the unique and complex beings that they are and not make people feel like they somehow don't matter at a fundamental level.
FWIW, I largely agree about the "cogs" idea. One particularly frustrating thing is seeing repeated failures and management fails to consult with workers about how it happened. Seeing the repeated problems the workers volunteer their insights to management about the underlying problems and possible solutions. But that info is either discarded (after "careful consideration") or warped to fit an existing but incorrect management narrative. The very idea that people doing the work could contribute anything meaningful beyond estimates doesn't seem to be palatable.
See my comment below for actual mental models you can use to prevent burnout in your organisation.
I personally find JD-R more useful, because it prescribes a model of 'jobs demands outstripping job resources', which then implies that you as manager can seek ways to increase job resources to help your employees cope. This at least suggests a direction for trial and error.
Adopting the attitude of 'all people are unique and complex beings that matter' may be nice, but it doesn't prescribe action. Therefore, it isn't as useful as 'think of burnout as JD-R or COR and perform experiments according to those models, pausing each quarter to see if burnout-related turnover has decreased'.
But leaders are practically impossible to reliably hire at rates the business owner can realistically afford, and if the whole zeitgeist of business starts paying more for effective leadership, then that just makes the problem a hundred times worse.
Leadership isn't teachable, but management is. Learning management will teach you the rudimentary skills of coordinating people to accomplish a goal, but it won't by itself make you a leader.
Firms can hire more managers, that solves the problem, I call a team with more than one competent manager, 'well-managed'. But good managers, like good leaders, wind up getting overworked across projects and so they just miss things. A leader doesn't miss anything, they're laser focused on the overall business goals of the project.
Few orgs want to teach it because it costs money and the ROI is poor if the subject jumps ship. The military doesn't have this problem to the same degree for obvious reasons, but for companies that require common skill sets, it's a tough decision.
When human beings are in a difficult situation they all too often try to comfort themselves by seeking praise/affirmation, stability/safety, connection/relationship, etc. And in those moments we see everyone around us as a means to the end of getting one of those things that we feel is missing for us. Our ego _is_ our personality. We’re fused with it and most of the time aren’t even aware that we have these impulses.
Great leaders are the ones who develop an awareness of their inner world and are able to set it aside when they need to act.
Can you teach this? Sort of. There are people who do. You can call what people like me do as a kind of teaching. But it requires someone more than just instruction and practice. The person doing the “learning” has to be willing to let go of parts of themselves that had been with them for most of their life.
I’ve found mere desire to be a better leader is not enough. People’s psychology is riddled with land mines and powerful defense that won’t let them abandon a deeply held belief just because someone taught them that it was somehow counterproductive.
The people that make the leap are usually feeling “stuck” or having some kind of recurring breakdown that they just can’t bear anymore and don’t know what else to do.
Which would be great and all, but there's less money in those sorts of things so the market can't support as many of them.