China for example does have a functioning court system. Like many countries, they don't cooperate with US court orders as a matter of sovereignty. Not even when Nike is trying to collect a couple billion dollars from counterfeiters: https://www.thefashionlaw.com/home/in-18-billion-case-over-c...
As you note though it's actually an important distinction about the retailer, because the retailer carries most of the product liability. Amazon makes people fill in a check box stating that they have liability insurance once the seller gets to a certain size, but they do not really check this at least to my knowledge. I encounter a lot of people who should have liability insurance, certified to Amazon that they did, but do not. There's not much wrong with a seller located in a country that cooperates with the US selling into the US because they can be held liable for any bad stuff that they do. They at least have a stake and can be held accountable. Not so when they are retailing from a safe haven.