Some, like Ben 10, feel conceptually designed as if it were a game to begin with, so the kernel is already there.
Regardless, sometimes the stars align and you get a title that does right by both video games and the license it’s based on.
You’d like to believe that developers and publishers are going about them from a good place obviously there’s something there that people love, so why not make an interactive experience of it? A devil’s advocate would say they’re nothing but a shill, a way to prey on somebody’s fandom and put minimal effort into it for maximum revenue.