A plausible perspective but, also there is the other factor if she were brought up before the people, being married they might have done worse to her like stoning for such an action, either way God made such commandments so that everyone would "know" just what the consequence was for actions so...