This phenomenon is known as static electricity. What is occurring has absolutely nothing to do with your clothing, this is a myth. What is occurring is your car builds up a static electric charge via your car's tyres as it moves, this static charge is present all over your cars metal skin and transfers to your body as it builds up