Microsoft would simultaneously have you believe that their products are so good people can't help but want to use them, and that China is a hard place to sell a product in successfully so of course it only makes sense for them to withdraw.
Fact is, all of Microsoft's products are outshone by someone else's now, and many of them are free, and most of them are even Free!
Microsoft has already been transitioning towards being a service company more than a product company with Azure and 365. They are an IBM or Oracle now. Nobody wants most of their products, but they have legacy products that it makes sense to put them next to. If you were starting from scratch today, you'd start with something else.