water is an easy elemental source of hydrogen. If it is possible to fuel this electrolysis via cheaply obtained renewable energy, then it makes a lot of sense to produce fossil fuels using this method - it will allow the existing infrastructure to consume such produced fuels, so you save capital and energy on replacing them.