Imagine that you move a substance from one container to another and its volume changes.

What state of matter is that substance?

gas
solid
liquid