The writing is genuinely brilliant
Avatar: The Last Airbender works on two levels: kids get the surface entertainment and adults get the subtext. Michael DiMartino and Bryan Konietzko's writing treats its audience with respect. The episode Sozin's Comet is as good as any live-action drama.