There has been, for several years now, concern that general anesthesia may have a negative impact on the brain and, in particular, Alzheimer's Disease but also general cognitive damage.
Here's a 2018 piece discussing research from the Mayo Clinic focused on apparent anesthetic damage in patients older than 70.