Mammals such as dogs and cheetahs change their gait from trot to gallop as they run faster. However, lizards always trot for various speeds of running. When mammals run slowly with trot gait, their fore leg and hind leg generate the required force for acceleration or deceleration such that the yaw moments created by these forces cancel each other. On the other hand, when lizards run slowly, their fore legs and hind legs generate the forces for deceleration and acceleration, respectively. In this paper, the yaw motion of a lizard model is controlled by the movement of their waist and tail, and the reaction moment from the ground produced by the hind legs in simulation. The simulation uses the whole body dynamics of a lizard model, which consists of 4 links based on the Callisaurus draconoides. The results show that the simulated trotting of the model is similar to that of a real lizard when the movement of the model is optimized to minimize the reaction moment from the ground. It means that the body of a lizard moves in such a way that the reaction moment from the ground is minimized. This demonstrates our hypothesis on how lizards trot using body motion.