Because of the electoral college. Individual votes are not what is counted, but more the state as a whole, and different sized states have a stronger influence over who wins. More or less. I hated government and don't remember the specifics of how it works
Here...let Schoolhouse Rock Explain it
Here...let Schoolhouse Rock Explain it