Answer:
Exsposure to heat and pressure. found this on ze inkenrck.
Step-by-step explanation:
Heat and pressure compress the mud and carbon over millions of years, forming sedimentary rock such as shale. In special cases, when dead plant matter builds up faster than it can decay, layers of organic carbon become oil, coal, or natural gas instead of sedimentary rock like shale.