To understand an idle speed that rises and falls, compare it under normal, safe conditions: cold versus warm, idle versus steady speed, and light versus higher load. Note whether it happens cold, warm, with the A/C on, or after selecting Drive. Change one condition at a time so the result stays useful.
Do not create a risky test just to reproduce it. Check for intake leaks, a sticky throttle path, and recent work around the air duct.
Quick educational note
For information, not a diagnosis or repair instruction. Vehicle-specific checks are still required. Consult the manufacturer's guidance and a qualified technician.
How to use this information
This article explains general principles and does not establish what is wrong with your vehicle. Read the content limitations.