Unsure if this is a bug or a feature, but the stable bobbing pattern when treading on water (holding the jump button in water) doesn't give you enough upward momentum to get on top of a neighboring block.
Video of the bug:
https://youtu.be/rfXy12M1CB0