Matter is anything that has mass and occupies space, It can exist in 3 states, or phases: solid, liquid, and gas.
Solid molecules are closely packed together and retain a fixed shape.
Liquid molecules aren't packed very closely, and take the shape of the bottom of the container.
Gas molecules are far apart and fill the container
completely.
The answer is diagram A.
Hope this helped. Good luck!