The most common energy sources for heating water are fossil fuels : natural gas , liquefied petroleum gas , oil or sometimes solid fuels . In many countries the most common energy sources for heating water are fossil fuels : natural gas , liquefied petroleum gas , oil , or sometimes solid fuels .