Fact 1: the mass of a planet causes the pull of gravity on that planet. 
Fact 2: Weight is the measurment of the force of gravity on a mass.
The force of gravity pulling on an object determines the weight.