It's arguably the same problem that occurs in any medium that involves storytelling (so, all of them, really).
It's been argued in the past that the reason why it's so difficult to come up with a decent ending to any story is because life doesn't have nice, clean cut endings. Cancer doesn't...