Because they're failing at capitalism, usually because their competitors are better than them at it. Not because of kindness to employees or somesuch. Capitalists fighting other capitalists as ruthlessly as possible doesn't change my argument.
Also capitalisms demands are just that, demands, its not a guarantee. If company x can't compete, it will quit. If it thinks it can weather a storm because it will be able to compete in the future, it will. Its not generosity. Its just profit-seeking.