The correct response is:
Heat and pressure build up.
After plants die and fall to the bottom of a swamp, they accumulate in layers, and over time, heat and pressure from sediment and rock piling on top lead to the transformation of the plant material into coal.