I read that the ending of When Harry Met Sally originally wasn’t that they ended up together.
Then Rob Reiner fell in love while making it and the ending changed.
Which makes me think some stories don’t end the way we expect
not because the story was wrong
but because we weren’t finished yet.