I'm thinking bacterial or fungal contamination. Could be a little bit of E.coli, S.aureus, Candida, or something like that got up in your mix and did some growing. Then you drank the pathogen and it caused gut inflammation.
That's my theory. It's easy to make wonky batches of kombucha at home. My first attempt at brewing the 'booch resulted in a moldy jar of tea.