So I've been encountering a rather weird bug on my survival world. I have a cow pit for my cows, but they occasionally push each other into (and as such they clip into) blocks surrounding the pit. It does not happen when the player pushes them, but every now and then I will see one being pushed into a wall and consequently die of suffocation.
Related issues
Comments

I believe this is a duplicate ofย MC-2025.

Thank you for your report!
We're tracking this issue in MC-2025, so this ticket is being resolved and linked 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:
๐ Bug Tracker Guidelines โ ๐ฌ Community Support โ ๐ง Mojang Support
๐ Project Summary โ โ๏ธ Feedback and Suggestions โ ๐ Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Probably MC-9568 I suggest fences.