I think it's something involving your characters position similar to how on some surfaces your character will float over the ground (making it look like from a casual eye you're on the ground).

I think the game itself can't handle your character moving upwards in a standing position so it gets confused and moves up because it believes your'e on the layer but you actually aren't.

It's a programming thing most likely.