Tips are considered taxable income.
Although they are a bonus that you get from your customers, on top of your paycheck, you still have to pay a tax on your tips given that in America, tips are considered to be a type of income. You'd get a dividend from a company, not from customers. Gain is just another word for profit.