Judaism believes that while the complete set of commandments was given by Moses to the Jews, there are a few universal laws expected of non-Jews too (known as the Seven Noahide commandments). Genesis Ch. 2 says "therefore a man shall abandon his parents and stick to his wife"; [our oral tradition][1] (written down in the Talmud, [*Kiddushin 58a*][2] ) tells us that means that only people of opposite gender should have sexual relations. Now the why, and how exactly that gets weighed against other things, is beyond us (see the book of Job); but you'd asked about Sodom, again, Jewish tradition says it wasn't about the sex, it was about a society that had made callousness the law, and used rape to enforce that ban. [1]: http://www.wikinoah.org/index.php/Maimonides%27_Law_of_Noahides#Laws_of_Kings_and_their_Wars.2C_Chapter_9 [2]: http://mechon-mamre.org/b/l/l4407.htm