Tariffs are making investors anxious for a few reasons. First, they can increase costs for companies that rely on importing foreign goods, and that can impact profits and, in turn, share prices.