Tipping the roly-poly shifts the center of gravity away from above the point of support. When the roly-poly is released, the force of gravity acts on the center of gravity and produces a torque that makes the toy roll from the point of support.