If dogs are partially in a block while it is raining, they think they are in the dry and shake off the wet. But then a split second later they get hit with rain again and try to shake it off. Creating an endless loop of shaking off the water.
See attached video for reproduction steps.
I expect when dogs are still in the rain even if within a fence block or other non full block to still get wet and not try to shake it off until it stops raining or until the dog gets under a roof of some sort...
This is already tracked in MC-211475