You tax things you want to discourage. Raising public funds is a happy side-effect of this process.
You tax the things you can raise money from easiest. Discouraging people from doing those things is a side-effect of this process
Inspired by a comment of lionsphil over at this discussion of the graduate tax.