Speed and distance not matching

During an endurance ride today (SZR Endurance 20 June 2020 07:02 UK time), on the ipad Zwift app screen it said I was averaging 30kph (that equates to 0.1km every 12 seconds). However monitoring the distance covered - it would take more like 30 seconds to register a 0.1km increase. Why is this ?