https://en.m.wikipedia.org/wiki/Gross_national_income
IIUC, GDP counts income owned by foreigners that happened in the US. GNP counts income only owned by residents of the US that happened in the US.
If someone from China owns a toaster making factory in the US, which employs no one, and it generates $100M of toasters a year - that's in GDP but not GNP.