I see the corollary to this as the actual injustice, i.e. “the dish was bad so you get a low tip”, because the server can’t control the quality of the cooking and yet depends on the tip, whereas the cook actually gets a full wage no matter what.
I’m starting this off with I hate tipping culture, but it’s required as an American, so I tip based on the service I receive from the server, not the food I eat. I rationally know they don’t control that. I assume most people do this, except OP who apparently tips waiters based on the food quality for some reason.
Yeah, I'll give good tips for good service of mediocre food. The Alamo has some of the hardest working servers in the industry. I don't care how good or bad the food is (usually good, but the overall amazing buffalo cauliflower can be inconsistent) if you crawl on the floor to give me my bill without blocking the movie for the person next to me, you get a good tip.