Why can’t a macOs be installed in a Windows computer?

Why can’t a macOs be installed in a Windows computer?
that to happen.
Not because they want to extract more money from hardware sales (Apple hardware is actually cheap for the quality you get anyway), not because they wouldn’t sell OS X as a product if they could.