It’s just an anecdote but I quit a job because the CEO fired an extremely good manager that I worked with. If a company has issues, a good person getting fired can lead to a mass exodus. In my case about half of the developers followed closely after me.