Windows Phone is seeing decent numbers, 6 million in the last quarters. The lack of apps like YouTube and Instagram is hurting the platform and they're showing they're serious about fixing that issuee by picking a fight with Google.
You don't get market share overnight when your platform has 100x less apps.
On the same note devs don't want to write apps for WP because it has no market share.