Digestive enzymes causing stomach pain ?

Hi everyone ! Yesterday i decided to take digestive enzymes. I am currently fasting. I was diagnosed with h pylori and chronic gastritis with hiatal hernia last october. I have been treated twice since last february. So Yesterday i took a pill of digestive enzymes. Just 30min after eating i had to rush to the toilets. Then i had cramping, like stabbing pain and a sensation of hunger. It was horrible. Anyone know why ?