What exactly rotates along the lateral axis? Is 'rotate' mathematically correct?
Yes that is the lateral axis of the aircraft.
The aeroplane rotates about the lateral axis, causing the nose to go up/down. The aeroplane then descends or climbs, causing the aeroplane axes to shift relative to earth axes. But the aeroplane axes are all defined relative to the aeroplane.