The sin of Sodom was that it was unwelcoming.  You don't understand  how important proper and appropriate welcoming was to the Mid-Eastern Cultures?  Compare how Abraham welcomed the Three Visitors who came to see him.  His language was one of great respect, his desire was to provide rest and refreshment for the Visitors [some theologians believe that the Trinity came in disguise to him].  Compare that with Sodom---its inhabitants were not welcoming nor respectful of the two Visitors who came.  Remember Jesus stated that Sodom will have it easier on the Judgment Day, than Capernaum [Matthew 10:23-24, Luke 10:13-15].


Speaking of Jesus, he criticized Simon [a Pharasee] who had invited him for dinner for failing to provide the common courtesies of welcoming a guest [kiss of welcome and water to wash the feet].  But Simon criticized the repentant woman for washing Jesus' feet with her tears, drying them with her hair and anointing his feet with oil.  [Luke 7:36-51]