There is no legal obligation to tip. But the restaurant owner or manager can certainly ban you if they want for not tipping. In restaurants where there is a “server” you are getting a service beyond just being cooked a meal. Of course they have a right to expect you to pay for that service.