The Journal’s analysis of grid records shows that participants included dozens of critical pieces of natural-gas infrastructure. Ercot ordered them to stay off for more than four days, as gas prices surged to extraordinary levels and some power plants stopped producing electricity because they couldn’t get enough fuel to function.