Thermocouple failure is one of the most common causes of gas valve faults. If the pilot light goes out, the thermocouple signals to the gas valve to cut the gas supply.