Does it have a vested interest to make everything work cross-platform?
I'm not sure what vested interest MSFT had in some of the changes introduced for iOS in .NET 8, but now it can be targeted with NativeAOT too, so there is clear investment and dev effort both from community contributors and MSFT employees to support various platforms.
Somewhat arbitrary example, there is also a project to support RISC-V (https://github.com/dotnet/runtime/issues/84834).
Azure is also the big moneymaker, so these days they want all their technologies to have Linux support since that's the dominant cloud OS.