The energy is not lost, however, because we can retrieve it by allowing the weight to fall back to the floor. While the weight is on the table, we say that the energy is stored as gravitational potential energy. When the opposite operation is performed, for example, a one gram weight falls in a vacuum. Clearly, the gravitational field is adding kinetic energy to all such objects that enter the field, whilst subtracting potential energy from the field itself. Hence, the energy from stars becomes eventually the new mass-growth within the planets.
Energy is, therefore, conserved.
Gravity can be thought-of as a type of imbalance of the radiation pressures of the vacuum. One can, therefore, see that this energy exchange from the stars to the planets is significant. These are the fundamental questions that this mass-growth model addresses. The gravitational field provides the heavier object a bigger push in just the right amount, so as to have the same acceleration as the lighter object. More dense and massive bodies absorb more incoming photons inexact proportion to their masses.