It's less the individuals and more of a management problem, and it's definitely not racism or nativism.
I've worked with full-time hire offshore devs who were genuinely awesome.
But every other time I've had or heard of offshore resources at work, the term implies low-paid contractors who are unqualified for the work they're doing.
Why can I make a blanket statement that many offshore contractors are unqualified? Because the qualified ones would be making more as direct hires to the companies they work, while contracting companies take a huge cut resulting in only being able to hire mid- and low-quality offshore devs.
The skills needed to succeed as a remote distributed team are communication and documentation, especially writing extensive code comments to support hand-off in maintainability. Code quality is also extremely important.
I've only ever seen strong communication skills in offshore devs hired directly. Other "offshore resources" (contractors) tend to be horrible communicators, whether because of not-quite-there English language skills or a simple lack of accountability.
I have at least 10 horror stories about companies I've worked for trying to save money with cheap, temporary offshore resources. If someone isn't going to be maintaining the project long term, and they don't have strong communication skills, it's almost guaranteed to be a disaster.