
Bruce P. answered 10/11/21
20+ year college biology/genetics teacher; I want you to understand.
Alas, there always are! The search terms you're looking for to learn more are 'penetrance' and 'expressivity'. Penetrance refers to "how many individuals of a given GENOTYPE display the PHENOTYPE that is expected?".
Let's say that purple stem color is dominant, designated by P. So Pp should be purple, if everything is the way it was for Mendel (who brilliantly picked phenotypes that did NOT display any of this nonsense!).
However, suppose that it's not that simple. Suppose that there is some regulator, and the plant must make AT LEAST 1000 units to show purple. Usually, it gets this right. But let's say that the amount made is also dependent on how much sunlight is present; if there is little sunlight (such as in a classroom), then plants are "living on the edge" as to whether they produce 1000 units or not. Maybe there are also other genes involved, some of which add 20 units if you get one allele; fail to add units if you get the other allele.
So each plant has its own situation BESIDES the Pp genotype. If a given plant makes 1200 units, then its stem will be purple. However, if another plant, Also having Pp genotype makes 988 units, it fails to meet threshold and stays green.