Airbus said it plans to test a hydrogen-powered engine on a modified A380 by the middle of the decade, in hopes of bringing lower-emissions fuels to commercial air travel.

Source: Airbus plans to test hydrogen engine on A380 jumbo jet to fly mid-decade

The problem with electric aircraft is the energy density of batteries is too low for the necessary flight durations. Hydrogen has a similar problem, plus it’s hard to store it without leakage. There are reasons we do not have large fleets of hydrogen powered ground vehicles.

Further advances in battery and hydrogen fuel systems could change this but … we haven’t solved the problems in decades yet. These are hard problems.