How are fossil fuels formed? A. Volcanoes erupt, bringing up energy from underground. B. Plants and animals decompose underground. C. Fossils combust and release petroleum D. The sun sends energy to Earth.