Two things, usually. First, collision geometry is hand-built, and if a developer leaves a gap or an unsealed edge in the level's collision mesh, the player's hitbox simply finds nothing to stand on. Second, players reach places the designers never intended to be reachable, where the floor was never modelled because nobody was supposed to go there.
Physics engines make it worse by resolving penetration rather than preventing it. High speed, a laggy frame, or a teleport that lands you slightly inside a surface can push you through before the collision check catches up.
It is less a single bug than an inevitable consequence of building a world out of hand-placed pieces and hoping nobody tests the seams.