وَلَقَدْ ءَاتَيْنَا مُوسَىٰ تِسْعَ ءَايَـٰتٍۭ بَيِّنَـٰتٍ ۖ فَسْـَٔلْ بَنِىٓ إِسْرَٰٓءِيلَ إِذْ جَآءَهُمْ فَقَالَ لَهُۥ فِرْعَوْنُ إِنِّى لَأَظُنُّكَ يَـٰمُوسَىٰ مَسْحُورًا ﴿101﴾ قَالَ لَقَدْ عَلِمْتَ مَآ أَنزَلَ هَـٰٓؤُلَآءِ إِلَّا رَبُّ ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضِ بَصَآئِرَ وَإِنِّى لَأَظُنُّكَ يَـٰفِرْعَوْنُ مَثْبُورًا ﴿102﴾
101 And verily We gave unto Moses nine tokens, clear proofs (of Allah's Sovereignty). Do but ask the Children of Israel how he came unto them, then Pharaoh said unto him: Lo! I deem thee one bewitched, O Moses. 102 He said: In truth thou knowest that none sent down these (portents) save the Lord of the heavens and the earth as proofs, and lo! (for my part) I deem thee lost, O Pharaoh.
Al-Isra 17:101–102 on Quran.com · Pickthall’s translation
In Surah al-Isra, Pharaoh tells Musa, I think you are bewitched, O Musa. Musa answers: You have certainly known that none sent these down except the Lord of the heavens and the earth, as clear proofs (al-Isra 17:101 to 17:102). That is the reading most mushafs follow today, laqad ‘alimta, you knew. But in another confirmed reading the word is ‘alimtu, I knew. Critics ask: this is a quote, so which did Musa say? He cannot have said both at the same moment. To answer, it helps to know how differences between the readings work.
Every difference between the readings falls into one of three kinds. The first, and by far the most common, is different wording with the same meaning. These are mostly differences in pronunciation, the way one sound is said, while the meaning stays exactly as it was. The second kind is different words with different meanings that are both true together. The third kind is different words with meanings that could not both happen at the same moment. This is where critics claim a contradiction, so it needs the most care.
Here is the second kind. In az-Zukhruf, one reading says people made the angels, who are the servants of the Most Merciful, female (az-Zukhruf 43:19). Another reading says who are with the Most Merciful. Servants and with are different words, but both are true at once: the angels serve Allah and they are near Him. Or at-Takwir 81:24, where one reading says the Prophet ﷺ does not withhold what he received of the unseen, and another that he is not suspected over it. Both describe him, and the full meaning is the two together.
Now the third kind. Think of two sentences: Omar left. Omar arrived. Both cannot happen at the same instant. But nobody calls that a contradiction. You simply understand that they happened at different times, and more context will show when. A verse in one reading is a verse in its own right. That is why you cannot mix readings inside a single verse: it can produce meanings that were never intended. Each reading is to be read whole, and placed in the full story.
The scholars explain the two readings of 17:102 this way. I knew is Musa’s reply to Pharaoh’s accusation that he was bewitched or mad. Musa defends himself: I know for certain that only the Lord of the heavens and the earth sent these signs down. You knew is Musa rebuking Pharaoh for denying the truth after he had recognised it. Allah describes that same denial elsewhere: they rejected them, though their own selves were sure of them, out of injustice and arrogance (an-Naml 27:14). Two moments in the same confrontation, both true.
This is how the story of Musa is told across the whole Quran. Pieces of it appear in different surahs, each showing a different part, and nobody assumes those pieces happened all at once. The readings work the same way. Put together, they give you a fuller picture than either alone. The more you learn about how the Quran reached us, the firmer your trust in it becomes. For the background, read the seven ahruf and the ten qiraat.