Dear Student,
As we know that capacitance is inversely proportional to the distance so we can write that,
(i) when the distance is reduced by half then the capacitance will increase by two times of its initial.
(ii) again when the distance is reduced by half between the plates of a capacitor then the electric field is also reduced.
(iii) But as the energy stored in the capacitor is directly proportional to the capacitance so when the distance is halved resultantly the capacitance would increase and the energy stored in the capacitor will also increase.
Regards