Companies are starting to realize that other countries are just that, other countries. They don't have the same security or laws that the US has. They have their own laws and foreign policies. Sometimes those policies are in line with the US, sometimes they are not. Countries don't stay enemies forever, and they don't stay friends forever either. By moving supply chains and production to other countries, you are hoping those countries stay friendly to the US and don't get into wars with neighbors or align with non US friendly states.