The American people get to decide who they want to allow in and under what conditions. If the American people decide that they should get compensated more than non-American citizens for a role falling under American jurisdiction, they can do that. And other nationalities can retaliate or pound sand, but that's it.
Other countries are free to compete, nobody is arguing otherwise, but it is explicitly the right of any country to determine who is allowed to compete within their nation.
What people want or deserve is irrelevant. If you live elsewhere and feel you deserve more, then that's not America's problem.
That was the context. Your post before this changed it to "want". I was responding to that. Nothing to do with non-americans feeling they deserve more either. It was about why americans feel they deserve
You may characterize it that way, and invite some pretty reasonable animosity; but if you do, then want!=deserve regarding the salary of foreigners, either.