Because your voting record is public information.
Yes it does - that's exactly what "public" information is.
Maybe you can argue that some information shouldn't be public, but some things can't be hidden, like your date of birth or your name or your DNA, and those things are up for grabs by anyone who can collect them, for better or worse.