When many people stop eating gluten, they often just stop eating so much bread, usually lower their total carb, sodium intake (there's tons of it in bread), and often sugar and other things as well, sometimes substantially lower.
Occasionally the opposite is true if people start swapping out large amounts of glutenous products for sugary fruits.
The same thing happens with MSG and chinese restaurant syndrome. People tend to think MSG itself, and not their actual sodium intake (MSG is sodium + glutamic acid), makes them feel sick. In controlled studies with equivalent sodium intake and controlling for taste (basically two gelatin pills, one with MSG and the other with an equivalent amount of sodium), there's been no correlation.