Piezoelectric crystals generate an electromotive force (EMF) when mechanical stress is applied to them.
This phenomenon is known as the piezoelectric effect.
When a mechanical force is exerted, the crystal lattice is deformed, causing a separation of electric charges.
This results in the generation of voltage across the crystal surfaces.
Other stimuli like magnetic fields, heat, or radiant energy do not produce this specific effect in piezoelectric materials.