It's a great reflection that despite Diane's maturity, she is a child. It's like when Louise on Bob's Burgers did a whole bit on her bedtime. Really evens out the character in an effective way and gives the writers the chance to tap into kiddishness later on.