This is exactly why talking about this is hard. People are too quick to draw causal conclusions. I didn't watch the movie. The movie will tell you why she slept with him. Science just gives context for what might be going on "under the hood" in similar, real, situations.