Answer:
Because only the electrons groups on the central atom contribute to the repulsion.
Step-by-step explanation:
The geometry of a molecule is determined by the theory of the repulsion of the pairs of the electrons. This theory states that the electrons shared at the bonds and the lone pairs of electrons intend to be as far as possible, so the energy at the molecule will be the minimum. Because the terminal atoms are too far away in the molecule, the lone pairs in them don't affect the energy as the lone pairs of the central atom, so only these last are considered.