It is not "the US" that imports Japanese or Chinese electrical appliances, but an individual from the US, or a group of Americans. They import these appliances because they believe that a profit can be made. And governments ought not interfere in these transactions.
Tariffs inflict harm on real people, empowering bureaucracy and the state, while destroying the rights of real-world entrepreneurs and consumers. Yet, some people claiming to support free markets are perfectly fine with this.