Dear Student,
Because while walking it rubs continuously with the ground and become plane.friction is reduced hence it becomes slippery so due to friction. Continuous rubbing of soles with the ground , the spike on the soles wear out and become slippery.
Regards