Let the movie be which is a movie in any case. Moses has killed a person but one of the commandments was 'don't kill'. Don't commit adultery: another commandment. But 'Lot''s daughters had physical intercourse with their father for whatever be the reason.
Commandments if were the necessity of that period it only reflects that such canons were badly required and God's name was used to add fear to such commandments.