Enzymes work the best in certain pH conditions and ranges in regards to base and acidic. If the enzyme is no longer in that range, it could denature(change shape), which would lead to the chemical reaction not working. I hope this is right or helped!