In the Mass Effect franchise, at the end of Mass Effect 3, you have the possibility to select the Synthesise option, therefore stopping the cycle and avoiding war between organics and synthetics. The AI had this ability all along but decided to continue the cycle of harvesting nonetheless.
Why did it not choose by itself to apply this to all beings in the galaxy and therefore making the harvest unnecessary?