When earthquake shock occurs in waterlogged soils, the water-filled pore spaces collapse, which decreases the overall volume of the soil.
This process increases the water pressure between individual soil grains, and the grains can then move freely in the watery matrix.