The story of the blockade since 2007 and the supply of services to Gaza is complicated. I know it would suit the narrative if it were simply "Israel bad, Palestinians good" but that's now how things go.
Again the reverse is also true - it’s not Israel good, Palestine bad.
The blockade itself is probably necessary but cutting of supplies to the people locked in is pretty grim.
After the blockade of 2007, diesel fuel was smuggled from Egypt, then in 2013 Egypt shut down the smuggling tunnels. The fuel was then supplied from Qatar and Turkey.
In 2017 power lines from Egypt were shutdown. At that time the only electricity to Gaza was provided from the Israel Electric Corporation. Then at some unspecified time later Israel allowed fuel to be delivered again
Why did the fuel have to be smuggled in?
Doesn’t sound like Israel had to supply fuel then, they shut down the supplies from the other countries you mentioned?