We know that, the potential energy of a system would depend on the reference point taken. Here, the potential energy of the reference point is taken to be zero. On changing the reference point, then the value of the potential energy of the system would also change. Since, we know that total energy is the sum of kinetic and potential energies, total energy of the system will also change.