If there's enough excess capacity of clean, renewable energy sources like wind and solar, that it can be converted into portable fuel . . . why hydrogen?
Its hard to contain, embrittles everything it touches, in gaseous form its density is low so its tanks need to be huge but in liquid form it needs to be kept unreasonably cold and is still low density and requires oversize fuel tanks, and its explosive when it mixes with air - not just flammable, but explosive.
Why not use that clean energy to pull CO2 out of the air and use it to build new hydrocarbon liquid fuels that are compatible with existing infrastructure?