My father was a US diplomat and head of the Economic Section of the U.S. Consulate in Hong Kong, and held a similar position at the US Consulate in Osaka, Japan. His primary function was smoothing the way for US business overseas, and making sure they didn’t break local law and get arrested (not joking about this). It’s the job of the nearest US Consulate (or Embassy) to fish Americans out of jail when they unwittingly break local law. Most Americans are unaware they are subject to local law when they travel, with the only exception being US diplomats and members of the Armed Forces. They have separate passports ... I myself held a diplomatic passport until I was 18 and returned to the States.
Hong Kong was very unusual being a Free Port, with zero import duty on goods from anywhere in the world. Back then in the Sixties, the only prohibited goods were guns (of any kind), illegal drugs, and gold. Anything else got a perfunctory inspection and went into Hong Kong warehouses for re-shipment to anywhere else in the world.
Thanks to decades of trade agreements with most countries in the world, the USA is very nearly a duty-free zone, with only the lightest restrictions into our markets. The Chinese government greases the wheels even more by providing free shipping for Chinese manufacturers into the US market (yes, really). But shipping back to China is definitely not free, as anyone with a defective Chinese product will discover. That’s why you should always confirm there is a functioning, and fully staffed, repair agency in North America when buying a Chinese product.
Americans cheerfully assume the rest of the world is this way ... LOL, ha ha, no, not at all. Not even slightly. There’s free trade within the EU, but there’s a maze of mind-numbingly complex safety and technical regulations to gain entry into that market. The big Japanese firms have the resources, but they have full-time staffs doing just that. The EU is a beautiful place and delightful to live in, but in terms of trade, it is a walled garden. Entry is possible but the requirements are daunting ... and are designed that way.
Gaining entry into Japan is nearly impossible. It can take decades. Even Wal-Mart has barely cracked it, and think of the massive resources they can bring to bear. Tourists are always welcome, but good luck immigrating to Japan, or cracking the local market.
Every country in the world is different, with different sets of legal hoops to jump through. Some, like Japan, are essentially closed. China is nearly closed, with complex and difficult currency restrictions. Hong Kong and the USA are very much the exceptions, not the norm.
The USA took the political decision after World War II that it wanted to sponsor worldwide free trade, backed up and protected by the US Navy. (The US Navy has 13 nuclear-powered Carrier Battle Groups. Any other country has just one carrier, and they are not nuclear-powered. Think about that for a while.) The US wanted to dissolve the squabbling European empires that had caused two World Wars, and had the economic muscle to do so. This is still US policy.