O2 and CH4 (methane) = rocket fuel
H2 + CO2(from atmosphere) + pressure + heat = CH4(more methane) + H2O https://en.wikipedia.org/wiki/Sabatier_reaction
Basically some (SpaceX) have already been planning to use electrolysis of water ice and atmospheric CO2 to create Methane and Oxygen to get rocket fuel via the Sabatier reaction.
Finding existing Methane doesn't change a ton since the building blocks were there anyway, but it may be less energy consuming and complex to mine/melt methane directly and just deal with splitting water by electrolysis, which you were going to have to do anyway to feed the Sabatier Reaction.
That way you can just rely on the martian atmosphere to produce your return fuel instead of embarking on a entire mining expedition.
https://en.wikipedia.org/wiki/Raptor_(rocket_engine_family)#...
How come? To use Energy you need an oxidant, preferably Oxygen. I googled the atmosphere of Mars:
Carbon dioxide 95.32%
Nitrogen 1.9%
Argon 1.6%
Oxygen 0.13%
Carbon monoxide 0.08%
How are you going to use Methane as a fuel or propellant? 0.13% Oxygen looks suspiciously low.