Presumably that it costs more energy to produce hydrogen than you get back when you use it as a fuel, which is strictly true for all fuels; however, with fossil fuels, the energy cost of production has mostly been "paid" already.
Well to Wheel analysis reliably shows that hydrogen FCEV are more energy efficient than ICE vehicles.
(Battery EV are better again, because Hydrogen productiom does use some energy).
So efficiency improvements make FCEVs more energy efficient overall, despite the Hydrogen production step replacing fossil fuels.
EDITED because I said converted to electrical energy when I meant kinetic energy.