I think macOS core UI is better looking, that's the reality, and it has been for a very long time.

Just a random comparison: Paint.net and Pixelmator.

Without going too far into the details of their capabilities, why does Pixelmator look so much more pleasing?

If you built Pixelmator for Windows using a Windows-native look, it would just not look as good.