It’s never been a particularly well-written franchise, IMO.
ANH is considered one of the best scripts ever written. It’s still being studied in film school for ts achievements, thanks to Lucas rewitting it to perfect it numberous times. TESB is simply the continuation of this high quality standard rooted in the foundation of a perfect script. Only what came after wasn’t as good and was sometimes even quite terrible, such as this tv show.