Moving cart with an acceleration is a non-inertial frame for the passengers. So both of them will experience a pseudo force in the opposite direction of the movement. The person sitting on the left will be saved by the wall of the cart but not the person on the right. So the person on the right is more likely to fall and the force responsible for it is the pseudo force.