They often don't. Wage abuse in the restaurant industry is rampant. The current purpose of tipping is to have staff that essentially works on commission so restaurants don't really have to pay them, and getting 20% off the gross usually isn't a bad deal... But if you get a string of shit tippers, $7.25 an hour isn't worth much in rural Nebraska, let alone cities where most restaurants exist. This is a
career for many people who have families to feed and clothe, mortgages and rent to pay, etc. "But they still make minimum wage" is an excuse that dissolves once you move beyond places that employ part-time high school students. Your electrician would also survive on their other customers if you stiffed them— the difference is that it's illegal. Even though stiffing waitstaff is not illegal, our country's social contract states that you tip a minimum of 15% (and usually 20%) when you dine out. If you stiff them altogether, they even get taxed on what the IRS assumes they were tipped at a minimum.
No matter what kind of BS justification people break out, usually styled as a righteous social protest supposedly in defense of the people they're screwing, not tipping employees making tipped wages is, morally, theft of services.