What Determines How Much Gravity A Planet Has