Why does God destroy Sodom and Gomorrah without warning, but offer Nineveh a chance to repent? The men who come to Lot's house could have just easily prophesied to the people of Sodom and Gomorrah that they must repent or they will be destroyed, like Jonah did at Nineveh.
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
According to the Ibn Ezra, Nineveh had previously been a righteous city, so they were given a chance to repent, whereas Sodom and Gomorrah didn't merit a prophet to warn them.
Ibn Ezra, Jonah 1:2:
More of a partial answer, really, but still a useful contribution.
In Yonah, G-d gives a specific reason for having mercy on them. In Yonah 4:11, G-d says:
Rashi explains that those "who do not know their right hand from their left" are the children of Ninveh, and the "beasts" refer to the sinful adults.
There were probably a minimum of 10 good men left in Ninveh so He gave them the option to repent but there were not even 10 good men in Sodom and Gemora. This is learned by the discussion Avraham has with G-d where he tries to argue about not destroying Sodom and G.