The pH of the reaction medium can influence the ionization state of both the catalyst and the reactants. Inconsistent pH levels can lead to the protonation or deprotonation of active sites on the catalyst, thereby affecting its activity. This is particularly crucial in biocatalysis, where enzymes are highly sensitive to pH changes.