The strength of the gravitational force between two objects depends on the distance between their centers.
At higher altitude, the center of the Earth is farther from the center of YOU, so the strength of the gravitational force between those two objects is less.