If you rub a finger over a variety of wet, smooth, solid surfaces (like glass, plastic, metal, etc.) you hear a squeaking sound. How is that squeaking sound produced?
Your finger first sticks to the glass, then slips, then sticks again, then slips and so on. Each time it sticks it exerts a force on the glass. If those forces occur at a steady rate that matches the glass's resonant frequency, it causes the glass to vibrate at that frequency with enough amplitude to be audible. The same principle applies to violin strings rubbed with a bow, squeaky door hinges, fingernails on a chalkboard, etc.