Turning $\require{mhchem}\ce{CO2}$ and some hydrogen into $\ce{O2}$ and $\ce{CH4}$ seems pretty straightforward and has been known since early chemistry in the 19th century. But what about the quality, the purity of the fuel produced? Kerosene rockets use highly refined kerosene, would they still work with low grade kerosene? How sensitive is a methane rocket engine (like the Raptor under development), and especially reusable engines, to impurities in $\ce{CH4}$ and $\ce{O2}$? Is it challenging to produce pure enough rocket fuel and oxidizer on Mars, compared to just producing some of it? And doesn't it require quite a gear to cool and pressurize them to liquids in fuel tanks?
The illustration below, of the oxygen extracting MOXIE payload planned for the Mars 2020 rover, kind of hints that it isn't as trivial as the chemical formula suggests. Will MOXIE produce (not liquefied I suppose) oxygen pure enough for use in a rocket engine?