The formation of reactive metabolites mainly occurs during phase I metabolism, which is catalyzed by enzymes such as cytochrome P450. These enzymes introduce or expose functional groups on the parent compound, making it more water-soluble for excretion. However, in some cases, these modifications result in the formation of unstable intermediates that are highly reactive.