The bug
You can cause a desync by repeatably picking up liquids.
How to reproduce:
Fly over an ocean and look down
Hold an empty bucket in your hand
Repeatably right click with ~250ms delay between clicks.
❌ You will have a desync. You will see and air pocket where it doesn’t look like there is water even though there should be.
Cannot reproduce in 1.17.1.