if you wish to recreate it place a sticky piston with a block on it against a wall, and constantly try over and over
the method used also surrounded other sides with blocks to force the game to push you through the border bocks
the world is ran on mcpe but is possible on all versions as far as personal testing goes
This is what it always has been called, its not a glitch or bug its just mojang being mojang
its a feature