One of the main reasons that SpaceX's Starship engine raptor uses methane is because it can theoretically be produced there from atmospheric CO2 and subsurface H2O.
Where there any experiments that produced methane rocket fuel on mars?
Something similar to what MOXIE hopefully will do with Oxygen.