When you stand over a block next to the water you will be pushed directly towards the water ... This applies only to the player and not to other objects.
Related issues
Attachments
Comments

Thank you for your report!
We're already tracking this issue at MC-166386, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki