Brain fog, also known as sluggish cognitive tempo, can be a symptom of ADHD.
A 2022 article also suggests that people with ADHD may attribute their feelings of brain fog to their ADHD.