Tariffs and other obstacles to cross-border oil and gas trade would prove costly for Mexico and the United States.