Why does the divine-name lām differ between the two phrases?

Al-Kāfirūn and An-Naṣr: Applied Madd, Idghām, Ghunnah and Waqf