Because people are not okay with their voting history being available to anybody, including the government?
Your smartphone knows what photos you send to who.
People put their voting preferences on their lawn + bumper sticker in America. I never knew voting was secretive?