A diagram below shows molecules in a state of matter:

If enough thermal energy is removed from the container to cause a change in state, which statement best describes what will happen?
(1 point)

A. Molecular energy will decrease, and the substance will change from a gas to a liquid
B. Molecular energy will increase, and the substance will change from a gas to a liquid
C. Molecular energy will increase, and the substance will change from a liquid to a gas
D. Molecular energy will decrease, and the substance will change from a liquid to a gas

D. Molecular energy will decrease, and the substance will change from a liquid to a gas