Answer:Gases and solids , Solids and liquids
Explanation:
A solid has a definite shape while liquids and gases take the shape of the container in which they are found .
Hence when a substance changes it's state from gas to solid or solid to liquid, it's shape automatically changes as explained above.