Linux is the right way to host
In terms of how the internet should be and is meant to run, there is probably no choice other than Linux that makes any sense for your server. It is open source, meaning anyone can write, download, install, update, and run Linux code at no charge.
As a result, Linux has a very large contributor pool, and offers countless thousands of applications, plugins, and other software releases and patches that anyone can use and play around with.
Mac OS and Windows, in contrast, are not open source, so you can't just use them for free, nor can you contribute to an improved iOS or Windows release yourself, regardless of how good your code or application may be.
This is what sets Linux apart from other OSs, and why Linux web hosting is a great choice to make.
Choosing Linux is an easy choice to make
From the code used to run websites, to the code that connects websites with backend databases, to the code that ensures everything runs and displays in your browser correctly, Linux-compatible is the dominant choice of industry players.
So as web hosting caught on as a business worth entering, various standards developed, along with different tools and solutions that aided system admins, all written for Linux. Anyone wanting to work with a top web host had to be familiar with Linux, so its pervasiveness spread even further.
Today, it is pretty much entrenched as the server-side setup of choice, so go with Linux if you want something robust and reliable.