The outer electrons are repelled by the core electrons, so the nucleus' effective charge on the outermost electrons is decreased.
As a result, the outer electrons are shielded and thus have less grip on the nucleus. This is called shielding.
Shielding effect description:
It is the repulsion of valence electrons that counteracts the attraction between these electrons and the nucleus.
The shielding effect increases when elements move down the group in the periodic table because of an increase in the number of inner orbits around the nucleus.
The outermost electrons of the high atomic number elements experience the low electrostatic force of attraction due to the repulsion that decreases the shielding effect.
The shielding effect for a period is constant because each period has a fixed number of orbits around the nucleus.
The order of the shielding effect in the sub-shell is: because the orbitals form diffuse shapes as the effect decreases.