Microsoft is trying to get out of their own pool of blood - by going Linux
After a few years of watching it develop (no pun intended) they have come to a point where the difficulty of setting up a machine so that it can run a development environment under Windows is an absolute nightmare and insanely difficult. Except trivial projects, all development projects have a number of dependencies. To satisfy them on Linux is just a matter of starting a few containers and/or installing a few packages. On Windows it is a crap fest of download, install, configure and bear with all the updaters that try at the same time to get your attention about an unneeded update. Not counting altering defaults that assume that they are going to be the only program/daemon running/installed on the machine. Not counting all the deprecated MS technologies that still lurk around whose dependencies have also to be satisfied, etc, etc, etc.
So in the end it is just easier to toss a Linux VM/Container that already has everything required running, won't pester you with updates, won't be broken by the next update and runs half decently in a meagre 4GB (my, how times have changed)