I can't tell if this has to do with AS, fibromyalgia, autoimmunity/inflammation, or a byproduct of pain/sleeplessness/sensitivity to stress...but I get sensory overload.
I wrote about it below, stating: "According to a study (https://linkinghub.elsevier.com/retrieve/pii/S152659001300028X), this "overstimulation" feeling is super common in fibromyalgia and chronic fatigue syndrome — and as well as other chronic illnesses (like multiple sclerosis), especially those characterized by chronic pain.
This study also explains that some people's brains and bodies can have a hard time processing multiple sources of input at once. This could be sensory experiences like loud noises, crowds, different smells, lights, and more. It's theorized that this might be due to a lack of serotonin in chronically ill people's brains.
The symptoms of sensory overload can include:
difficulty focusing
irritability
restlessness
an urge to cover your ears or shield your eyes
sensitivity to textures
and more"
https://ankylosingspondylitis.net/living/sensory-overstimulation