The upper stratosphere and Mesosphere consist of the ozone layer. This layer helps in protecting us from the UV radiations of the Sun. This layer converts the UV radiation into heat energy.
The UV radiation breaks down the Oxygen molecules in oxygen atom which further combines with oxygen molecule to form Ozone. This Ozone molecule breaks to form Oxygen atom and Oxygen molecule. Oxygen atom further recombines with Oxygen molecule to make Ozone molecule. This is known as Ozone-Oxygen cycle. The excess energy is released as heat.
Everyday around 400 million metric tons of Ozone is produced through this cycle.
The gravitational force would get stronger because the farther the two masses are separated the more gravitational force will be used to pull them together the closer they are the less gravitational pull is used to pull them together