Usually it's dried fuel deposits that harden and glue the slides in place. Spray can carb cleaner will usually soften those deposits and get the slides moving. It evaporates pretty fast so you have to keep reapplying the stuff and sort of worry the slide actuator. Once they are moving spray more into it to flush out the "glue". Otherwise when it dries out, they stick again.
Cheers,