The US produces plenty of plastic waste on its own, but it ends up in landfills because of modern garbage collection and street sweeping infrastructure. Before the development of landfills and garbage trucks, trash was a much bigger problem in the developed world - plastics just weren’t very common yet.
Most developing countries don’t have that infrastructure so plastic pollution is everywhere, regardless of how much they export to Western countries.