Ah, so gasoline is also not a primary energy, but the same as hydrogen produced from natural gas, a secondary energy. I hear someone say "fossil fuels" and think of gasoline, diesel, etc. But in the case of primary vs secondary, a fossil fuel includes what is literally taken out of the ground, oil, coal, or natural gas.
My point exactly, I refer you to the first sentence of the article, which I was criticizing: "Hydrogen, overlooked for decades by Germany’s energy planners, is gaining ground as alternative to fossil fuels as the nation scrambles to recover lost ground on its climate promises."