#1 is a bit of a gotcha; in the case of the USA it holds tax treaties with some countries (maybe blocs like the EU?) and not with others.
If you’re earning in a country with a treaty, say the UK, you pay the local tax and any difference is paid to the US if your local tax is less than what you’d pay the fed+state if applicable.