Leitmotifs are “short, recurring musical phrase” that is typically associated with a character, concept, or location within a film or piece of visual media. They’re often used to stir emotion within the audience, usually for a particular characters arrival or actions.
Leitmotifs are very commonly used throughout Marvel films – in particular the leitmotif of the Avengers Theme, which usually plays as the Avengers make their “last stand” against the antagonist of the specific instalment, such as Avengers: Endgame.