It's relatively straightforward to synthesize methane (Starship fuel) from a stream of carbon monoxide and hydrogen.
In the past people got the carbon monoxide from pyrolysis of coal
https://netl.doe.gov/research/Coal/energy-systems/gasificati...
but today people are doing it with carbon dioxide extracted from the air or from another combustion process.
You could make RP1, Jet Fuels, and other hydrocarbons this way too
https://www.netl.doe.gov/research/coal/energy-systems/gasifi...
but the chemistry is tricky because the reactions that break chains down to methane or build them up to polyethylene will run quickly except when conditions are balanced on a knife edge... One where the reaction rates aren't too high and amount of product you get for the size of the machine is not good.