I think it's a whole genre that was finally allowed into mainstream. For a long time we had very black/white view on the superheroes in movies. Only relatively recently Batman got a bit interesting, Star Wars had someone turn "bad", Ironman was a good jerk, Starlord... was a good jerk, Loki and Deadpool are pretty chaotic, now Sandman is soon coming out. We have a number of "that bad character had reasons" movies like Cruella.
Those existed for ages in comic books, but I don't think mainstream / Disney would touch them.