Tax policy, but not just tax policy. Companies also place their operations based on cost (total operating cost, including logistics costs and whatever). For instance, it is not a surprise that so many computers and smartphones are made in China.