In other words, they stopped copying Apple and switched their sights on Google.
The stuff that matters stays closed source. Infrastructure, tooling are published because they bring massive amounts of goodwill and developer mindshare while hindering potential competitors that now have to battle with a free offering.
Frankly I preferred the old Microsoft which wanted your money, not the new one that (also!) wants your data.