Cause you were sucking air in.When at idle only air that should be entering the intake is through the idle air control valve.You had more air that was being picked up by the ecu through the map sensor so it idled it up.Basically the car thought you were sitting still and had the gas pedal mashed to where the throttle was partially open.