I’ve lost 80 pounds before GLP-1s were a thing and didn’t gain this superpower, and the last time I lost weight (about ten years ago) I went from front line desktop support to teaching myself to code and getting a job as a software engineer, so honestly maybe it’s just “not having sleep apnea”, then when I regained the weight it felt like I lost some IQ points. So you may be on to something. Also it seems to generally reduce inflammation.
My heartburn I suffered from is completely gone but that’s because I just absolutely stuffed my face, I felt like I could never eat enough food.