Perhaps the Pope knew via private confession which the Pope can’t talk about....
A priest, not even the Pope, can reveal the content of any confession.
Read a book written by a priest about this: “The Seal” by Fr. Timothy Mockaitis