speed pedal ML320 2001

Could you please tell what/why is causing the speed pedal to stop its function while the car is in motion.

THANK YOU!!!