The correct answer is:
A. Energy from the Sun creates the cycle of rain and wind that causes erosion to produce sedimentation.
This option accurately describes the role of energy in the sedimentary rock formation process, highlighting how solar energy drives natural processes like weathering, erosion, and transportation of sediments.