Yes, I love how Job talks directly to God. And I don’t think it is a sin to do that. Because sin is what separates us from God, and Job has not cut off his relationship with God, but is communicating. Jacob wrestled with him, and Jesus cried out to the Father in Gethsemane and on the cross. As long as there is still a struggle, still wrestling, there is still relationship.
On Genesis: Does God ever, at any point in the Bible, stop asking people questions he already knows the answers to, or discuss the outcomes of things as if they ‘could’ change, when he already knows how it will go? I think it just goes to show how he is interested in relating and creating ‘with’ us, not just talking ‘to’ us, and so he draws us into discussion with questions and gives us a part in the outcome he already knows. However, 18:21 makes me wonder why God had to investigate and ‘come to know’, being omniscient…is this a human’s fallible understanding of events/God? I’m glad the angels did not let Lot’s daughters be harmed, and that women enjoy more respect (at least in our culture) than we did back then. The gang-raping men of Sodom are where the word sodomy comes from.
That sort of thing doesn’t stop at Sodom’s destruction, as we will see later in the OT. It happens in Israel (Gibeah, in the tribal territory of the Benjamites) (see last three chapters of Judges), too, only there aren’t any angels to protect the concubine they rape to death instead of the men. The unnamed Levite alerts the rest of Israel to how crazy things are in that territory by sending his concubine in twelve pieces to each of the tribes, so that the tribe of Benjamin is brought to justice. Virgins are taken from Jabesh-Gilead to make peace so that the Benjamites who fled the destruction will have women to marry. Later on (1 Samuel 11), Saul is from Gibeah and so has kinship with the blind messengers of Jabesh, allowed to come (sent) by the Ammonite King Nahash to negotiate their surrender–but instead Saul (the king Israel has been begging for) cuts up twelve hunks of bloody meat to summon the tribes (just like the unnamed Levite did with his concubine to bring justice in Gibeah), who go on to defeat King Nahash.