Furthermore batteries don't get lighter as their charge is expended, as opposed to fuel that gets burned off. This means a plane powered by batteries has to land with the same mass of fuel as it does when it takes off. Many aircraft are worse at decelerating themselves than accelerating. This means they can actually take off with more mass than they can land, thus extending their range. This can't happen for battery powered planes.
Hydrogen powered planes is less far fetched than it seems. The Soviets built a prototype: https://en.m.wikipedia.org/wiki/Tupolev_Tu-155
Cryogenic storage of hydrogen is less difficult than it seems. Because the engines are constantly drawing fuel from the fuel tank, the tank's pressure is constantly dropping which cools it down. Most of the difficulty around hydrogen storage is in long term storage where hydrogen permitting through the vessel is a concern. The main challenge for applying it to aircraft is being able to make a vessel light enough and in a form factor suitable for planes, namely fitting it in the wing.