Pilling is caused by friction during wear or washing, which tangles loose fiber ends into small knots.
It is most common on fabrics made of short fibers, such as cotton and polyester, and typically appears in high-friction areas like the underarms or thighs.