There are several points to consider.
The earlier films of both characters were set in story universes where they were the ONLY super hero in them. In the Chris Nolan trilogy, there was no Superman, no Justice League, or anyone else. In the McGuire and McCarthy Spider-Man movies, he was the only super hero.
But, Tom Holland's Spidey, and Afflack's Batman are in story universes where there ARE other super heroes. That point alone changes the kinds of stories that will work, and those that won't, in that context.
Example: In Batman #3, Bane takes all of Gotham hostage. In a story universe where Superman and Wonder Woman exist, that would last for about five minutes before both of those heroes arrive and fix things.
And, in Tom Holland's first appearance as Spidey (In Captain America: Civil War), we got very little of the origin story, because it was taken as a given that most moviegoers already knew it.