If she is intolerant then gluten may upset her for a while. Really for now I would just avoid for a few weeks and see if it helps everything settle down. If not you know it's not the food YK? Things like rice, quinoa, millet etc.
It does sound like she is teething poor poppet. Does pain meds help at all?