THC and Caffiene are both stimulants, so when taken together they will amplify each other's effects. However this combination would not cause the symptoms you described. It sounds like you had mild food poisoning or something along those lines.