Crystals can generate electricity under pressure. When a crystal is slightly distorted and then allowed to spring back into place, it produces a slight electrical charge, according to Lois Van Wagner of Yale University.