I have a pounding headache when I eat. Does this mean that my digestive system is not functioning properly?

TMJ disorders. You could be having temporomandibular disorders. Some of the common symptoms are jaw pain, jaw locking, jaw popping, ear pain, neck pain, headaches, ear stuffiness, and face pain. If you are having any of these symptoms, see an orofacial pain specialist. Find one on www.Aaop.Org.
No. This is uncommon and may be caused by food allergies. Some migraines can be brought on by certain foods.