Only the foreign income of a PR or citizen is taxable in the US. Only the foreign income of a resident alien (except PR) is taxable in the US for the year he/his claim as resident alien.