President Trump’s trade policies have helped to push down oil prices while raising the costs of materials for oil and gas companies.