Surface friction is typically the main factor regarding slippage between two objects. If the objects are coarse and not smooth, they will most likely grip and not slip easily. If the objects are smooth, they are more likely to slip. Another factor is whether or not lubricant is involved. Even finely tuned cogs and gears can slip if lubricated in excess.