What Happens Right Before You Take Your Clothes Out Of The Dryer

That annoying little zap—it happens nearly every time you open your dryer and take some clothing out. But what causes it? What happens right before you reach for your clothes and leads to that shock? [Abstruse Goose]