Retirement tax questions

I don't think it's considered foreign because you weren't paid by a foreign company.