Liquids are more compressible than solids.
In liquids there is space between the molecules, not a lot, but there is enough space to offer some compressibility. Solids are arranged in regular patterns and their molecules are almost fixed close together.