And they were obliterated not because of not showing hospitality....but for wanting to commit sodomy....hence sodomites and later ensuing Western laws against sodomy.
The reason why they did not show hospitality was because they were too consumed with their lusts; when people are consumed by lust they no longer care about others and only see others as a means with which to gratify their lusts