Nothing to worry about

This is healthy! It is called beak grinding. They will do it when they are relaxed or like your little one falling asleep. It is an important behaviour and helps them maintain the proper beak shape, in addition to when they chew wood and such when they are active.