How are they able to generate the income? Through the services YouTube provides from the US. How is YouTube able to provide those services? Because the US government creates infrastructure to enable it. How is that infrastructure paid for? Taxes. Hence they tax the income.