What affects gravitational energy?