The primary function of tariffs isn’t to penalize but to protect markets and consumers.
Is just a quirk of American law that a president can unilaterally impose them, which has lead their current bozo in chief that he can use it as a stick to whip countries into doing what he wants them to do.