A lot of mobs, zombies, creeper, witches and non-hostiles will randomly stay still where they are, (you can see them) but theirΒ hitbox is somewhere else and they can still damage you. For example, a zombie will be standing still doing nothing but you could walk somewhere else and be attacked by that zombie, which you can't see.
Related issues
Comments


Thank you for your report!
We're actually already tracking this issue at MCPE-71243, 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:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki
Thank you for your report!
We're actually already tracking this issue at MCPE-71243, 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:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki