Tariffs have an inflationary effect on the US for the simple reason that $100 of stuff with an accompanying bill of $25 in tax, that $25 comes to the US, centralizing the money supply more. With dollars floating around in Canada and Mexico, it imports US inflation to them.
In reality, they should love tariffs so they can divest from dollars. Despite the "monetary" losses.