Not all software is for consumers and a good amount runs a hardware as a whole product. 2026 will be the year moving from Windows IoT / embedded to Linux as the host OS for the solutions I work on.
Personally, I find software more stable when coding on Linux and making Windows changes after it is operational. Windows takes more work with edge cases than Linux, BDS, and macOS.
Windows treats STDIN and STOUT different between console and GUI. All other OSes that I have worked on threat them the same.
Note my comment was "Linux on the Desktop", not "Linux on Embedded".
It's quite obvious that not all software is for one platform or another. It's just the vast majority of Desktop software happens to be Windows. And if that's what you're writing, targeting Win32 gets you Linux on the Desktop as well as Windows. There's no reason to write a Linux-native version and have to deal with all of the incompatibilities across distros, let alone compatibility issues over time.