The correct answer is B: They are called fossil fuels because both fossils and fossil fuels are found in sedimentary rock.
Fossil fuels, including coal, oil, and natural gas, are formed from the remains of ancient plants and animals that were buried under layers of sediment and rock. Over millions of years, heat and pressure caused these organic materials to transform into the fuels we use today.