Answer:
Gravity explains this.
Step-by-step explanation:
Weights and mass are different terms .
Weight is defined as the force exerting on the surface due to the mass and gravity of acceleration.
![W=m*g](https://img.qammunity.org/2020/formulas/chemistry/middle-school/vc1jucqwpsvgo69c194d6f1irmpjxzo97a.png)
Here mass is related to the density of the body. So as the density would be same mass woulnt vary.
Whereas the Gravity changes due to the property of the planet.
Gravity is different for different planets and hence moon and earth have two different values.
So the mass i.e density remains same on both planets but the g value always changes hence weight is different.