This isn’t an uncommon presentation - disease processes that lead to inflammation of the small bowel can be expected to resemble gluten sensitivity.
Gluten consumption, on its own, can cause small bowel inflammation and this effect is well known (see https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5677194/)