Even though the Airbus A330-200s were parked four and a half years ago, that fleet is still only about 13 years old on average. It was larger in quantity and newer than the 9 orphan -300s which were certainly on the way out, even without the pandemic.
These planes were ex-US Airways, from shortly before taking over American, and had just been retrofit to offer premium economy before being parked.