They want as many organizations as possible to use their cloud platform, for that to work, they need first class Linux server support.
On the desktop, they'd prefer people to be using Windows, but they want to ensure that developers who deploy to Linux have a great experience, thus WSL, VS Code et al.
With that said, I think there are some groups inside MS who would like to see more desktop Linux support, thus announcements like the Linux Teams client. It's probably a mistake to view MS (or any other v.large corp) as a unified entity. There will be groups inside that corp. with differing goals.
You only have to look at MS presence at Kubecon where you'll often see MS staff with Macs or Ubuntu laptops on their stand.