When an entity is inside of a block, it falls through the entire world into the void.
Steps to reproduce
- Stand on a block
- Do this command "/setblock ~ ~ ~ stone" any non transparent block works
- Watch yourself fall through the whole world.
This can also be reproduced by placing falling blocks and letting them fall onto you.