An object will topple over when the vertical line through its centre of gravity falls outside the base.
The centres of gravity of the two vehicles are shown by the black dots.
The animation shows that because the centres of gravity of the two vehicles are at different distances above the ground the vehicle with the lower centre of gravity is more stable, and can tilt further before toppling over.