Build-up of static is caused by friction
1. Negatively charged electrons are scraped off one material and dumped on the other
2. This leaves the materials electrically charged, with a positive static charge on one and an equal negative static charge on the other
3. The direction of electron transfer depends on the two materials involved