Let's take the case of the Airbus A320 family of aircraft. Airbus manufactures A318, A319, A320 and A321 planes, which all belong to the same family.
What is the need to manufacture multiple aircraft from the same family having different ranges and capacity, when one could just invest in making just two or three different planes from three different families providing a wide range of range (distance) and capacity?