Being next to a wall you can go through it if a mob attacks you, like a zombie or a skeleton, I attach a video about the problem that has not been solved for a long time
Related issues
Attachments
Comments

[media]

Duplicates MCPE-191309

This issue is being tracked at MCPE-190671.