It varies. Corporate edict in some cases. In another, perceived cost advantages plus need to have production there, as their product is a component of other products made there.
But a lot of the cost advantages aren’t as perceived, seems a common refrain.
The situation taketh away as well as giveth.
At some point it will suck sufficiently to prove unattractive.