Which of these statements describes one way that a nonrenewable energy resource is obtained?

A. Trees are cut down in a forest.
B. Palm trees are planted to produce palm oil.
C. Panels are set up to absorb solar energy.
D. Mountaintops are blown up to mine coal.