SN2 mechanism occurs in one step in which the nucleophile attacks the alkyl halide from the backside of the C-LG bond. When a nucleophile attacks a methyl or primary halide it does not encounter much steric hindrance (i.e. the Nu can easily attack the carbon without bumping into too many other groups).
On the contrary, if a nucleophile attempted to attack a tertiary halide it would encounter severe hindrance and be pushed away.