The system naïvely assumes that the votes accurately reflect the usefulness of an answer (when, in truth, the votes only reflect the usefulness of an answer as deemed by the voters, and even that assumes the voters voted responsibly to begin with). So, since that answer had at least 2 upvotes, the system thinks the answer is useful and therefore awards it with the bounty.
The automatic assignment is in place as a safeguard for when the bounty setter forgets or is otherwise unable to award the bounty at the end of the bounty period, so users who did provide useful answers don't get shortchanged for their efforts. But, again, this all assumes that the votes do accurately reflect the usefulness of answers (which, granted, is mostly true in the majority of cases).