Answer:
Because the yellow trait is dominant and the parent with this trait is homozygous for it.
Step-by-step explanation:
Gregor Mendel performed experiments on pea plants, where he studied varying traits. In his experiments, he discovered that, for each trait, an organism (pea, in this case) receives two forms of gene called ALLELES, one from each parent. He stated in his law of segregation that these alleles randomly separate into gametes, with each gamete receiving only one allele from each parent. This alleles combine via the gamete to produce the genotype that determines the phenotype of the organism.
In a pair of allele, one allele is capable of masking the expression of another in a heterozygous state i.e. covering it up. The allele that masks or is expressed is called DOMINANT allele while the allele that is masked is called RECESSIVE allele.
Therefore, in this case, the allele for Yellow seed (Y) is dominant over the allele for green seeds (y). In a cross between two purebreds (homozygous) i.e identical alleles (YY and yy), all the F1 offsprings will possess a heterozygous genotype (Yy), which means they will all be phenotypically yellow-seeded because the allele for yellow will mask the expression of its green pair.