Trump's threats to put tariffs on imports from Canada and Mexico have weighed on markets, even though there has been considerable uncertainty over whether he would make good on his threat.