I took that as a sign of how discombobulated she was at the moment, almost as if a reflection of her shocked state of mind. I don’t know about you, but sometimes the weirdest things come to mind at the strangest times. And that’s just in normal life. Under stress, when the norm flies out the window, it doesn’t surprise me that her character, again given her shock, would say something so seemingly random. And who knows? That might actually be something she asked in real life!
But yes, it is an unusual line, unexpected, so I can see your point.