The voltage between points can be caused by the build-up of electric charge, and from an electromotive force.
Good to know
On a macroscopic scale, a voltage can be caused by electrochemical processes, the pressure-induced piezoelectric effect, and the thermoelectric effect.