setup and payoff
noun
- Planting information, objects or traits early so a later moment feels earned rather than convenient. Establishing early that the heroine can pick locks makes her escape in act three satisfying.
In plain words
- the ending feels unearned
- the twist came out of nowhere
- the climax felt too convenient
See also Chekhov's gun foreshadowing deus ex machina