This can often occur when parts of the application are out of their control. For example, geographical apps are hard to recreate locally on the scale of Google or Apple Maps. It's vastly easier and sometimes cheaper to use their API. But if China has any disputes on how it's represented in the geo data, the software becomes a liability.