Transient current flows through R1-C3 form one line to the other, evening out the voltage differential. R1 dissipates some of the energy and provides dampening to prevent ringing. Whatever generates the transients would be external to this circuit. It could be any number of things.