Why do I have to pay U.S. taxes if Im not a resident of the United States?
All wages earned in the United States by employees living in the United States are subject to U.S. federal withholding taxes. If however your particular country has entered into a Tax Treaty Agreement with the U.S. you may be exempted from the tax-withholding requirement. See IRS Publication 901 “US Tax Treaties” at the IRS web site for more information.