The reason front load washers use more electricity than a top load washer is the motor needs to use more energy to spin the tub full of clothes and water.
It takes more power and a larger motor to turn the washing machine tub of a front load washing machine than it does to spin the tub in a top load washing machine.
It's easier for the motor to spin a tub with the water when it's flat but turning a tub of water and clothes that is sideways takes more effort and more energy.
However while the front load washing machine uses more electricity it only uses slightly more electricity but it also saves you in energy costs of water and hot water.
Less hot water has to be heated up for the front load washing machine than it does for a top load washing machine.
You also usually use less detergent in a front load washing machine than you do in a top load washing machine.
However front load washing machines are more expensive than a top load washing machine and may break more often.