For Apple, that's only due to requirements / tariff impositions by India making it cheaper to manufacture locally.
The India move is a strategic move probably to see if they can get the same quality from their assembly lines. The key is still access to supply chains for important semi conductor metals.