A slump in sales due to the airline industry moving to a point to point model make risk of empty seats on the A380 too much of a burden to make it profitable to operate.
Still the aircraft will remain in service for at least another 20 years.
https://www.designdevelopmenttoday.com/industries/aerospace/news/21047354/airbus-abandons-iconic-superjumbo-jet [designdevelopmenttoday.com] https://www.bbc.com/news/business-47231504 [bbc.com]