Piezoelectricity

Electric charge generated in certain solids due to mechanical stress
Abstract

Piezoelectricity is the electric charge that accumulates in certain solid materials—such as crystals, certain ceramics, and biological matter such as bone, DNA, and various proteins—in response to applied mechanical stress.

Wikipedia