The president declared a national emergency, urging the energy secretary to ease up on regulations slowing production.