Tariffs have been applied over the years to protect homegrown industries and target competitors who are seen as using unfair trade practices. They impose costs on both importers and exporters and had been in decline until the recent U.S.-China trade war.