Waves come onto shore moving sand and small pieces over large rocks making them smoother. What factor causes the weathering that is being described?

Ice
Temperature
Water
Wind