Remember that Iran is Shiite, where most Muslims are Sunni. The 2 differ in their eschatology. Shiites believe that a great calamity will usher in the return of the Prophet Isa (Jesus) and the 12th Imam. So nuclear war? not so bad.
Most Muslims do not believe this. Iran’s Ayatollahs do.