I think it’s cuz in American culture, it’s really important to separate differing ages of the kids (like with middle school being separate) cuz the maturity levels & behavior differ a great deal, enough to the point where not having primary school age kids in the same building as high schoolers is beneficial
Of course, this isn’t true for the entire US (especially in private schools), but it’s fairly widespread