There was a rift during the 800s ACE called the Mihna where the dominant thought (at least among the government) was the Mu'tazilla belief that the Quran was created since logically God "must have preceded his own speech". The Mu'tazilla came to this conclusion after studying the Greek classics and thinkers.
A few caliphs of the Abbasid Caliphate oppressed dissidents, the biggest one being the famous scholar Ahmad Ibn Hanbal who protested against this belief and said the Quran is always Uncreated. He was then imprisoned and tortured by the caliphs at the time until the popular support and thinking turned into Ahmad Ibn Hanbal's favor, so they then released him.
The issue was finally settled when the famous scholar Abu Hasan al-Ash'ari, who's also the founder of the Ash'ari School of Theology, founded a middle ground between the strict literalists (Atharis) and the Mu'tazilla.
The middle ground established by Al-Ash'ari was that the Quran is the uncreated word of God, that is, it was not created by God, but like God has always been. And it is to be created when it takes on a form in letters or sound. The Ash'ari School eventually became the dominant School of Theology within Islam and it still is.
He believed that the Quran was uncreated and eternal, yet its ink and paper, individual letters and words were created.
Islamic Philosophy from Its Origin to the Present: Philosophy in the Land of Prophecy p. 125
Therefore, when we use the word, “Qur’an,” to refer to God’s Attribute of Speech, it is uncreated. When we are using the word, “Qur’an,” to refer to the physical text, or what we memorize and recite, those things are all created and they are not the attribute of speech. Therefore, to remove any confusion all one needs to understand is that the physical text as well as the memorized or recited words are not the actual attribute even if we use one word, “Qur’an,” to refer to both.
Sources: