its like what smart hulk said about time travel in avengers 4 when they time travel to the past they do not change the future in the same timeline but instead created a new universe via timeline
the mcu time travel style is much different from the most common time travel style
But vastly more scientifically valid. The idea of "changing history" is a logical paradox, an impossibility. (Change requires a version before and after the change, and a single moment in time can't come after itself, so if there are two versions of that moment, they are by definition simultaneous, existing in parallel rather than one replacing the other.) It can be more dramatically satisfying if the characters are at risk of losing their whole reality or being erased from existence, but it's complete nonsense. It was refreshing that
Endgame chose to adopt a more valid model of time travel, but of course audiences have been so conditioned to expect the nonsensical version that the more reasonable version sounds strange to them.
But while the
Back to the Future-style "changing history" model is more common, there's always been plenty of science fiction that used a fixed-timeline model, where any time travel was constrained to be consistent with the original history or create a parallel one without erasing the original. The movie
The Final Countdown is a notable example of the fixed-loop model where the time travelers' actions turn out to have caused the history they knew. Most of
The Time Tunnel used a fixed-history model, where Tony and Doug only had wiggle room to affect events that were unrecorded by history so that they didn't know in advance how they'd turn out (although later episodes abandoned this). Robert Heinlein wrote some notable time-loop stories like "By His Bootstraps" and "All You Zombies." The TV series
Gargoyles used a strict fixed-timeline model, and
Red Dwarf usually did too. My own few original time travel stories (outside of my licensed
Star Trek work) all use the fixed-history or parallel-timeline model, because it's the only one that makes any sense. (And I tried very hard in my Trek fiction to come up with a remotely plausible model for how a timeline could be "erased," in which it isn't unmade retroactively, but coexists in parallel with the original until the moment the time travelers went back, at which point it undergoes quantum collapse and is subsequently forgotten, creating the illusion that it never existed.)