Electricity is the best form of energy to use as the basis for Proof of Work, because there is no pre-requisite on how to generate the required electricity.
compare: electric cars vs ice cars, electric cars can also end up consuming "dirty" electricity from coal fired plants, but that's an option vs. ice cars.