Canada and the European Union have been confronting an increasingly challenging relationship with the United States under President Trump.