Electricity usually has to be produced as it is being used
Fuel can sit in a tank until it is needed. Electricity is different: the power grid normally has to produce almost exactly as much electricity as people are using at that moment. Batteries and other storage can reduce this problem.