Because before 21 you are not wise enough to choose for yourself if you want to smoke...
...but you are wise enough to have a vote in the management of the largest human enterprise on earth, the US government.
But they're "wise" enough to vote.