A simple static build up. Just like socks on a carpet! touch the light switch and you get a shock as the static charge is discharged. The action of getting out of the car with cloth seats and your clothes generate the static charge, when you touch the metal door handle you provide the charge with a path to ground and thus experience the shock. Drier air also makes generating the static charge easier.