Here is a portion of the explanation my book gives
"Kirchoff's second rule follows the law of conservation of energy. Let's imagine moving a charge around a closed loop of a circuit. When the charge returns to the starting point, the charge-circuit system must have the same total energy as it...