Warning: This article contains spoilers fromIt Ends With Us.

They co-parent their child for a while, as Lily takes time to heal on her own.

“And we couldn’t let that happen.

Justin Baldoni and Blake Lively star in IT ENDS WITH US

Blake Lively and Justin Baldoni, ‘It Ends With Us’.Nicole Rivelli/Sony

Baldoni felt immense pressure to accurately depict how the difficulty in Lily’s decision to leave Ryle.

Because we have to not know what she’s going to choose.”

Portraying Lily’s experience through repressed memories was also inspired by Baldoni’s own life.

Justin Baldoni and Blake Lively in ‘It Ends With Us’

Justin Baldoni and Blake Lively in ‘It Ends With Us’.Nicole Rivelli/Sony

And they came suddenly, and at random times, and it really threw me.

“This is not what it’s about, but that is what inspired it.”

He says he had long conversations with the screenwriter about how to infuse that experience into Lily’s story.

Blake Lively and Brandon Sklenar star in IT ENDS WITH US

Blake Lively and Brandon Sklenar, ‘It Ends With Us’.Jojo Whilden/Sony

“So we wanted there to be gray areas in the movie that are not gray in the book.

Want more movie news?

Instead of choosing one version of each scene, Baldoni chose them all.

“Which is, essentially, what ended up in the film.”

It Ends With Usis in theaters now.