You're right, it's not. And the only way to make it halfway palatable, the so-called "blue" hydrogen, is to do carbon capture and sequestration during steam methane reformation.
However, for more than a decade, fossil fuel companies have said carbon capture and sequestration will be easy, and then failed to execute on any of their industrial size projects. Plus, what is that captured carbon used for? Extracting more fossil fuels. Plus the sequestration requires transporting carbon long distances, and somehow making sure that the sequestration lasts on geological time scales.
So any mention of methane for hydrogen should raise huge red flags and discredit that path. There's only one path for hydrogen in the future, and that's electrolyzers, and making them go through exponential price drops over the next two decades.