The front car started up the (incline), stopped and came back down, and the front car overturned and it dumped the people out.
During a test run, for some reason, the cars didn't make the rise and they came backwards, and as it came backwards, it derailed and turned over, spilling them out onto the ground.