Why were Sodom and Gomorrah destroyed? I think many people assume that Sodom and Gomorrah were destroyed because of their sexual immortality, and this may at least be part of the reason. However, I recently read Ezekiel and in Ezekiel 16:49-50


  49 Now this was the sin of your sister Sodom: She and her daughters were arrogant, overfed and unconcerned; they did not help the poor and needy. 50 They were haughty and did detestable things before me. Therefore I did away with them as you have seen.


It seems that Ezekiel is turning the traditional interpretation on its head, although there is certainly room for argument in the phrase "did detestable things before me".

Is there any kind of doctrinal consensus or majority view on why exactly Sodom and Gomorrah was destroyed?
I believe the reason people remember Sodom &amp; Gomorrah for the sexual immorality may be due to:


The account in Genesis 19 where the men of the town wanted to have relations with the two angels that were spending the night at Lot's house.
The word sodomy creates a huge link to Sodom &amp; Gomorrah.


So yes, the traditional interpretation as you say is focused on the sexual immorality, but Ezekiel reminds us of what the Lord tells Abraham in Genesis 18:20-21


  20 So the Lord told Abraham, "I have heard a great outcry from Sodom
  and Gomorrah, because their sin is so flagrant. 21 I am going down to
  see if their actions are as wicked as I have heard. If not, I want to
  know." (NKJV)


A few verses later God concedes to Abraham and says, "For the sake of ten I will not destroy it,"  which leads us to believe that not only were the people so wicked in Sodom, but not even 10 were found to be righteous.