What Alex said is correct. The top of dam is an elevation 20 tile. The very next single tile is elevation 1... The physics can't be managed.
This pic shows that a tile elevation change between Elevation 20 and 1 would have allowed the game to read the height change normally and no movement would be allowed.