Solving the computational puzzles that lead to new bitcoin blocks requires the computing power of actual hardware devices. These devices need electricity to function, and they use a lot of it since solving the puzzles is incredibly taxing for a device. What's more, since the network's difficulty is continuously increasing, more and more computing power is needed to mine new bitcoins, which effectively requires more and more electricity.