Days after taking office in January, Mr. Trump signed an executive order to speed approval of two pipeline projects that had been blocked by the Obama administration, the Keystone XL and the Dakota Access Pipeline.