The electric potential energy is defined as the ability to perform a work that originates from a particular position or configuration. In terms of electricity, when any charged particle exerts a force on another charge, then the potential energy is originated from any collection of charges. This Potential energy is applicable for the conservative force that converts it into kinetic energy and the total amount of energy remains conserved.
Thus, the kinetic energy of the moving electrons comes directly from the electric potential energy.
Explanation: You can see that the green colored frogs were once lower than the blue and as time started progressing the green started getting a higher population over the blue, as the blue decreased.