Remember that article about how they acted like a toddler to Microsoft when the latter wanted to have a YouTube app?[1] All to keep WP from being viable enough to have a significant market share of users, especially users that didn't know or care enough to swap out bing search for Google.
[1] https://www.theverge.com/2017/7/14/15970082/google-killed-wi...