There seems to be some false narrative within ROP critics that Jackson's Lord of the Rings trilogy was successful because it followed the source material, and in comparison that ROP is a failure because they feel it does not.
However, not only does LotR deviate from the source material in major ways, but its widespread success can only be attributed to the technology and movie making behind the project, not the material of the project itself. Whether it comes from camera techniques to make the hobbits appear shorter, to advancing motion capture with Gollum, to inventing new programs that helped simulate the many people in major battles like pelennor fields. These are some of the reasons why the films had mass appeal, and attracted people who would not and have not ever read the books.
Pushing technology is the reason behind the success in many movies. From Titanic to Avatar, from Pixar Films to Star Wars and the MCU. Pixar's catalogue in particular had movies centered around new features- first they brought a 3d world, but because the humans looked terrible they did centered the story on Toys. When they developed tech for Fur, they did Monsters Inc, when they developed tech for Water, they did Finding Nemo, etcera.
Those films succeeded in large part due to pushing the boundaries of what was achievable in film. The original Lord of the Rings did the same thing.
Meanwhile the films deviated from the source material in major and subtle ways. The Ents are clueless and tricked into action, No Scouring of the Shire, Elves at Helms Deep, Ghost at Pelennor fields, Pippin and Merry are made more naive and ignorant, Gimli comical, Legolas absurd, Faramir kidnapping Frodo, lack of Bombadil, the addition of the prologue, the corruption shown in Bilbo at Rivendell, Denethor not lighting the beacons and sending Faramir on a suicidal charge. There are many subtle changes as well, having Aragorn scare off the Nazgul at weathertop rather than Frodo uttering some old Elven words. Or Gandalf being the one to declare it's a Balrog rather than Legolas, because of course Gandalf is the wise one, not the young suave Legolas. The characters were all changed to be molded into tropes and action superseded lore.
The original trilogy was as successful as it was because of technology and in spite of its many changes to the lore.