The list of people who voted in a particular election is placed into the public domain as an anti-fraud measure. It's an important part of the US version of democracy. Other info like property ownership is public for similar reasons. Rich people form trusts to buy property and obscure their names.