Potholes form when water enters cracks in the road surface and weakens the pavement, especially during wet or cold weather.