If God asked you a question three times, do you think it was because He didn't know the answer? Or could it be vastly more conspiratorial than that?
He strikes me as the type to never waste words. So I'm guessing each question meant something. And it wasn't for Jesus. It meant something for Peter.
Thinking here for just a moment...
Three denials. Three chances to affirm his love for Jesus.
Three denials. Three opportunities to say, "Yes," when Peter had previously said, "No!"
Three denials. Three moments when a man believing the unbelievable could show his faith.
What amazing amazing amazing grace.