States connected with the conduct of that trade or business is considered to be Effectively Connected Income (ECI). This applies whether or not there is any connection between the income, and the trade or business being carried on in the United States, during the tax year.
https://www.irs.gov/individuals/international-taxpayers/effectively-connected-income-eci