Execution matters. Microsoft was best-positioned to reap the widespread, mobile-enabled transformation of personal computing. They didn't, and today with the discontinuation of the Surface Duo, they have literally zero strategy in mobile.
When Windows Phone was killed it had about 10% market share in Europe, it was slowly becoming the device that people that didn't like Android, and lacked the funds for an iPhone.
Turns out 10% is better than 0%, but they decided otherwise, and selling Microsoft Android was always hard to swallow.