There are various names for the concept over higher-over-lower power in a democracy -- supremacy, preemption, paramountcy.
If smaller units want to accomplish things together that can't override their individual sovereignty, then they sign treaties, form alliances, and groups -- like NATO or NAFTA and so forth. The thing that distinguishes a grouping that makes an actual state is precisely the fact that it can strike down the laws of lower organizational units when they conflict.
Now, nobody's claiming this power is unlimited -- that would be fascism. There are still rights that exist precisely to limit state-level power. But the general principle of supremacy/preemption/paramountcy still exists.
>> Ok, what is it about larger aggregations make them have more moral authority than smaller aggregations?
> Well, the simple fact that if they don't, they literally have no reason to exist.
This is circular reasoning. You made an assertion. Either defend it or declaim it. What is the specific moral authority that you claim larger aggregations have over smaller ones?
Absolutely nothing stops a planet-level democracy, except that you've got to get all of the existing countries to democratically choose to join it first. Which is a gigantic historical undertaking that might happen someday, or might never happen at all.
But if you're asking why stop there now, in 2023, it's because a planetary democratic body simply doesn't exist. While countries do.