"And when the plague (al-rijz) fell upon them," meaning: the punishment.
﴿وَلما وَقع عَلَيْهِم الرجز﴾ يَعْنِي: الْعَذَاب.