Because they are found deep in the Earth and the energy stored in them was obtained from the Sun long ago.
9.5m questions
12.2m answers