When two materials rub together, negatively charged electrons can be transferred from one to the other. The material that loses electrons becomes positively charged, and the material that gains electrons becomes negatively charged. These opposite charges are attracted to each other, which causes the articles of clothing to stick together.