The statement is false. The pressure of a gas do not decrease as the gas molecules hit the walls of the container. According to the Kinetic Molecular Theory, collisions of the gas molecules or with the walls of the container are perfectly elastic. This means that energy is not lost as the molecules collide with each other or with the walls of the container.
The textbook Would most likely have more gravitational potential energy because it is heavier. Things that are heavier have a larger gravitational pull and are pulled to the earth faster