Usually oscillating transient waves are caused by a combination of capacitance and inductance. In this case, the inductance may be motor loads, or it may just be the 20 miles of wire back to the POCO.
The capacitor stores energy in an electric field, and the inductor stores energy in a magnetic field. When a sudden change occurs (like switching capacitors into a circuit), energy can get traded back an forth between the capacitors and inductors. This happens at the resonant frequency of the circuit. Eventually, the loads and losses in the circuit dampen the oscillations, and the energy trading becomes "steady state". Steady state is basically what the power triangle and Volts-Amperes-Reactive describe.
Steve