Variations In Spellings Of Quranic Terms
This is not a discrepancy, but a variety of writing styles. The script evolved over time. The Quran is a historical record of the evolution of the script. So variety is still there.