The diagrams show the particles of a substance.

Which statement best describes the process that the diagrams show?
A solid loses kinetic energy to become a liquid and then becomes a gas.
A solid gains kinetic energy to become a liquid and then becomes a gas.
A gas loses kinetic energy to become a liquid and then becomes a solid.
A gas gains kinetic energy to become a liquid and then becomes a solid.