Why? The Israelite warriors, after a killing trek through the desert, are seduced by the Moabite ladies, and they "whore" with the new girls. If something the God of the Israelites really hates, it is "whoring". Bottom line: the Moabite whores succeed where magic failed, and save their country. I hope they gave a good time to those energetic Jews.