Answer
A tariff is a tax on imports. A tariff causes a deadweight loss because a tariff is a type of tax. Like most taxes, it distorts incentives and pushes the allocation of scarce resources away from the optimum.
Work Step by Step
A tariff moves a market closer to the equilibrium that would exist without trade and, therefore, reduces the gains from trade. Although domestic producers are better off and the government raises revenue, the losses to consumers exceed these gains.