I was thinking the same thing. I’m considered by my doctors to be non-celiac gluten intolerant, and I presented with no gastrointestinal symptoms before I was diagnosed. What I did have was a migraine every day that eventually left me bedridden for 45 days.
When I stopped eating gluten, my migraines also went away.