The hitbox is made so you can walk over gaps and glitch through walls.
Thanks to Will_Wam for the original project Super Mario Bros.