Super random, not a doctor -- lyme disease is one test. Another is unidentified food allergy. Close friend had similar symptoms for almost a year. Thought he was dying. Turned out to be lactose intolerance :(
Lactose intolerance is a possibility too, it's on our long list of the things to eliminate. I'm going to quit milk based products today.