Yes, tariffs are a tax, but people don't mention often enough that they are a regressive tax. Taxes on consumer goods tax the poor at a higher rate, as basic necessities are a much larger part of their spending.
If food goes up by 20%, it is a tax on the poor. Rich people won't even notice.