When you go in gear w. the auto tranny, the hydraulic pump starts, torque converter engages, and creates a load on the engine. When you take it out of gear, the engine abruptly loses the load, and revs up a hair until the idle circuitry kicks in. Perfectly normal w. auto trannys.