The United States is/was a collection of independent state governments. At one point, many state governments selected the electoral college representatives from their states. Until it was amended, states governments chose their senators.
There are political and historical reasons for having the system work this way, much like how the ordering of primaries is a contentious and complicated arrangement.