Helping other ponies with their insecurities and nightmares has always been the job of Princess Luna, and one she took quite seriously.
However, after saving one small filly from a terrible nightmare, things get turned on their head when the filly begins helping Luna instead.