Sury, Height is a genetically inherited trait, and so your girlfriend's height depends on the genes/alleles carried by each of her parents.
(Height; is; a genetically inherited trait) (alleles; carried; by each of her parents)
Height alleles
is carried
a genetically inherited trait
by each of her parents