If you are familiar with Linux and considered that option, then I said nothing! ;)
But then _caution_: I didn't suggest you to migrate tomorrow. Such a major change needs planning. The earliest I can think of it the summer break (if you are in the northern hemisphere).
Saw that Ken gave a longer answer.
The main point, I don't say Windows make a bad server for Moodle. But you see the problem. You have two Moodle servers doing fine on Windows and one not. But your debugging capabilities are limited. Or, to put it another way, your moves are dictated by Windows, not the vast choice Linux offers. (Sorry, I can not answer your particular question, I migrated to Linux decades ago! Even my desktop is Linux.)