> it seems the CO2 comes from hydrogen production using methane as the feedstock.
Yes the use of methane arose because it was cheaper and more energy efficient than other ways of creating fertilizer feedstock.
Several years back, it was noted that an excellent use of wind turbines was in the production of fertilizer feedstock. Whilst the process was less energy efficient, given wind energy is 'free' energy it didn't really matter, plus there was no (fertilizer) transportation cost if the wind turbine was located on the farm.