They're producing too much because factories are designed to run at high-capacity. You can't just turn them off and on again.
They have to keep producing, but they need to put the goods someplace, or they have to pay for destroying them and eat the entire loss.