Mr. Trump is trying use tariffs to force Mexico to better guard its border with the United States, but Mexican officials say the tariffs will only hurt both countries.