Why do you assume the tax is on bets and not on profits

Im replying to a comment that says it should be taxed on revenue.