The ball moves with the car uniformly forward. Suddenly the car stops. But the brake force is not transferred to the ball because it lies loosely on the car. The ball does not change its state of movement because of its inertia. It rolls on linearly to the end of the car.