Unless the required costs — wages, taxes, regulatory costs — are too high to make it worthwhile.
A border tax will also kill jobs in the import/export industry, and it will bring retaliation from other countries.
Anyone who thinks this will spark a trade war is a disingenuous liar. We are in a trade war now. Raising tariffs now would just be retaliation for 3 decades of rape trade and de industrialization.