it has an example of a propulsive landing on Mars and use this to calculate Mp propellant mass m = T /Isp* g0 and I would think Mars gravity would be used but most examples show earth, why is this?
As 93143 said above, what matters in the rocket equation is exhaust velocity: Δv = vexh ln(M0/M1). Engineers working on Earth have found it convenient to define specific impulse as Isp = vexh / gEarth, so they sometimes write the rocket equation as Δv = gEarth Isp ln(M0/M1).