gluten

does anyone know why those with epilepsy are more likely to develop a gluten allergy?

The gluten allergy actually causes some forms of epilepsy:

From this article.

Bolding mine.