Twentieth-century world

Why did governments pay close attention to safety and working conditions in munitions factories?