Which is true about fossil fuels?

A.
Coal and natural gas came from swamp environments, while oil came from open oceans.

B.
Coal came from swampy environments, while oil and natural gas came from open ocean environments.

C.
Coal, oil, and natural gas came from swamp environments.

D.
Natural gas and oil came from swamp environments, while coal came from open oceans.