In the first cross, the genotype of parents would be Tt and tt.
Gametes T, t x t, t
Tt, tt, Tt, tt
The ratio of progeny is 1:1.
The offspring population will have an equal number of tall plants (Tt) and dwarf plants (tt).
In the second cross, the genotypes of the parents would be TT and tt
Gametes T, T x t, t
Tt, Tt, Tt, Tt
Progeny: All will be Tt
The offspring population will only have tall plants.
The difference is due to the different genotypes of the parents.