Linux has quite a few advantages over Windows, including much smaller image size, a lot more variety, better stability, and also, most of the software available on Linux is open-source. Another big selling point is that you can find a lot of distros designed specifically for crypto mining.