Answer
Due to inertia.
Work Step by Step
We know that when a dog shakes its body, the water remains at rest due to inertia. However, the water drops fall away from the body of the dog when the position of the dog's body is changed continuously and rapidly.