Both the prequel and sequels were too tied into making them fun for kids. Star Wars isn't for young kids.
They've always been for kids. Lucas himself said so.
The trick with these things is making a story that is great for kids and adults. That is extremely difficult and we don't see it that often. It's also why Speilberg is probably our greatest American director, he's made a ton of movies like that.