Plants have to deal with fluctuations in light, water, temperature and humidity and fight off pests and diseases, fight for nutrients and deal with herbivores. The life of a plant is such that they have all this to deal with and cannot move away like animals if the conditions are lacking.
In order to deal with stress, plants react by intentionally slowing growth to conserve energy and resources. They use various enzymes, metabolites and signalling