Flint, Michigan has lead-poisoned tap water.
Look at the salmonella cases that pop up every few years and kill handfuls of people. Look at the infants accidentally being given methadone prescriptions. There's never any real consequence for mishaps in the US. Maybe a fine at worst.
Even American generic manufacturers get a large percentage of their APIs from India. Surprise surprise, weak patent laws mean you get pretty good at making complex things.
The bulk mass-produced excipients/binders/“fillers” often come from China, since that’s what they’re good at.
Pressing tablets and packaging them is fairly commoditized work. The extra cost of doing it in the USA won’t make a perceptible difference to the end-user.
QC is easier when you’re working with verified pure ingredients.
I’m much more worried about food made with imported ingredients than drugs made with imported ingredients.
When a 500k tablet per hour rotary press can be tended to by a person or two and do its thing, labour costs aren’t very relevant.