Probably because Windows is best suited for games and cookie-cutter corporate applications while basically every supercomputer, cluster, etc. runs Linux. Professors aren’t usually running games or cookie-cutter business software so why not? If your one-off, experimental research code is going to ultimately be run on a more powerful system running Linux, why write it on Windows and waste time debugging once you try to run it for real?