[16M] Why am I suddenly getting SO dumb???

Sorry for the literal stupid question. But what’s making me become so unintelligent all of a sudden? I hate to toot my own horn but I’ve always considered myself to be on the smarter end but for the last few weeks I feel like I can’t focus on anything for more than a few minutes before ny brain just “restarts” and decides to switch focus to something dumber. I’m having such a hard time concentrating or comprehending anything. I don’t drink, smoke, or do any recreational drugs. I’m sleeping fine, hydrated, eating, etc. Could it be medication changes or pain related? I’m currently weaning off of amitryptiline. My chronic pain has been flaring up too. Or am I just genuinely getting stupider?