The stock market dropped sharply in recent days as investors worried about the effects of new tariffs on Canada and Mexico by President Trump.