Fact 1: the mass of a planet causes the pull of gravity on that planet. 
Fact 2: Well, weight is the force on a object caused by gravity trying to pull the object down.
The mass of a planet causes the weight of objects.