ASP.net had it's day, and everyone wanted to instead run their .NET apps on linux rather than deal with windows licensing and security issues, which is why mono was so popular
Other things had their chance too, like MacOS-based hosting, and it never really took off, again because people don't want to manage closed-source production systems that they can't simply patch themselves.
The domination of linux in the hosting / server world predates the existence of public clouds. I was there, I remember.
At the turn of the millennium for a very very brief time there were a lot of windows servers running ASP.NET. That was it. Nothing has come close to linux since then, and it has absolutely nothing to do with what AWS/GCP offers. What they offer is entirely beholding to what developers like.