Piezoelectricity is caused by pressing or squeezing?

Crystals