What did tariffs do?

The purpose of a tariff is to restrict trade. They make the price of imported goods and services higher, causing them to be more expensive to buyers.