Move the switch down and see how the voltage green signal slowly charges the capacitor.. The current blue decreases because the capacitor is building an opposing voltage. Move the switch up and see the voltage green discharge and current blue decrease in the opposite direction.