Celestia has reached the eldest age for an alicorn, and in order to continue lifting the sun for Equestria, she has no choice but to transform herself back into a filly.
She's left herself, and Luna some very detailed notes on what to do next.
*Breaks away from canon events happening in Season Nine. For example, Cozy Glow is still trapped within Tartarus.*