When you pressed the liquid, its shape changed. Liquids do not have a definite shape, so when you press them, they take the shape of the container or spread out to where there is space. For example, water pressed in a plastic bag will flow and fill the new space.