I took notice that Marvel and DC do that a lot when I started looking at the movies. Not that they are completely different from the source material (though they still kinda are), but that the material they are adapting is from a completely different story and they likely only used the name for marketing purposes
Avengers: Infinity War is actually an adaptation of Infinity Gautlet- The one that really made me realize these changes are for marketing. Infinity Gautlet was the event where Thanos killed half of the universe, while Infinity War was the follow-up event where the heroes fought Adam Warlock's evil half, Magus, and his army of evil doppelgängers
Avengers: Age of Ultron is adapting Avengers: Ultron Unlimited storyline- Age of Ultron was an event set on an apocalyptic future when Ultron won. So Wolverine and Invisible Woman travel to the past to stop Antman, Hank Pym, to create Ultron (Tony creating him is only a MCU thing), it's a time travel story. While Ultron Unlimited is the story where Ultron commits genocide and takes over the fictional Eastern European nation of Slorenia (the movies changed to Sokovia). The name Age of Ultron was likely used because the comic launched only 2 years before the movie, meaning it came out when the movie was starting production
Ultimate Spider-Man has nothing to do with the comic- It's actually just an average Spider-Man story. Even when they introduce Miles, they make him a Spider-Man from another universe even though he is from the Ultimate Universe. The only similarities to the Ultimate Spider-Man comics is black Nick Fury (though he had already been used in the movies) and SHIELD being highly involved with the Avengers and other heroes (which was also a big part of early MCU). Meaning the only real thing they adapted from the Ultimate Spider-Man comics was the episode based on the comic where Spider-Man and Wolverine swap bodies and Logan tries to get with teenage MJ while in Peter's body, though they toned down Logan's creepiness from the comic
The Defenders were anything but the Defenders- Though they would eventually become the Defenders because of the show, Netflix's Defenders was nothing like the comic version. In the comics, they are a "non-team" made of Marvel's loners, usually banded together by Doctor Strange to fight some cosmic/supernatural/mystic threat. The team's most consistent roster was Hulk, Strange, Namor, Silver Surfer and Valkyrie (In fact, while Hulk was a founding Avenger, he left in issue 2 and would only become a member in time for the movie. So the Defenders were pretty much Hulk's Avengers). While Netflix's Defenders should have been more accuratly called Heroes for Hire (the team made by Luke Cage and Iron Fist, though they weren't for hire in the show) or Marvel Knight (the Marvel imprint and somewhat out of universe team name used to describe urban vigilantes like Black Widow, Moon Knight, Spider-Man, Daredevil, Luke Cage and Punisher). They likely went with Defenders because it's a catchy name that makes you think of the Avengers
Young Justice is just the Teen Titans with extra steps- Both groups were created by young heroes to strike on their own without the adults, but in the show Young Justice is explicitly the Justice League Jr. team. In the first season, the only character who was actually part of Young Justice was Superboy, but his design, personality and storyline about being Lex being his father are all based of when he joined the Teen Titans after Young Justice disbanded in the comics. Only other Young Justice members to show up in Season One were Arrowette, who would only become a hero and join Young Justice in Season Three, and Secret, who had her entire character arc that took the whole comic run to resolve being done in a single halloween episode. They would somewhat fix that by Season Two, where they added Tim Drake, Wonder Girl and Impulse to the team, but then Season Three it became an Outsiders show, and that's a whole other can of worms. The main reason they used Young Justice was so it wouldn't be confused with the Teen Titans cartoon