Hydrogen flying
Although hydrogen-powered flight may be perceived as an unrealistic future utopia, it is not as far away as one might think. Airbus is committed to bringing their first hydrogen aircraft, the Airbus ZeroE, to the market by 2035. While Boeing has not yet published a timeline for hydrogen-powered flight, the US aircraft manufacturer has conducted a number of hydrogen-fueled flights. Given the major changes required to airports' fueling infrastructure, 11 years is not a long time for airports to prepare.
Electric flying
Electric flying, on the other hand, is already reality for smaller postal and executive aircraft and, as a matter of fact, SAS Scandinavian Airlines is already selling tickets for their first-ever commercial electric plane flights scheduled for 2028 (travel.flysas.com/electric). Those two facts alone force airports to act and adapt rapidly, since those types of aircraft will require charging infrastructure. While the inability to serve executive aircraft primarily means bigger losses on non-aeronautical revenues, not serving commercial flights could result in a loss of traffic to airports better prepared.
Even if electric or hydrogen aircraft concepts of operation should be ready, safety requirements are not fully clear, yet. This could lead to either remote locations, and therefore a poor passenger experience, or separation from kerosene fueled aircraft.