Because the amount is not the same. Energy is not conserved in general relativity, for multiple reasons. The first reason help to answer your question : Einstein equation with a cosmological constant say roughly : Energy = gravity + expansion. So expansion is caused by a specific form of energy, named dark energy, which is not conserved but increase with the universe's volume. The second reason for energy non-conservation, unrelated to your question, is because expansion modify the wave length of electromagnetic radiation (redshift), which mean photons loose energy.