The U.S. has benefited from an oil and gas boom because new drilling technologies have made it feasible to drill in states such as North Dakota and Pennsylvania.That has pushed down the trade deficit by boosting petroleum exports and lowering oil imports.