Unfortunately a common bug in this game is to hit an “invisible wall” and lose some or all of your momentum, which can result in you falling to your death.

Here are some common invisiwall spots

Here is some investigation by limbus; it seems to be related to Croc going over the void

OrionYTP found a crazy one in Waterfall (video)

Conveyor belts and Ice also could be complicating factors