They aren't simply "choosing" to pass cost increases to consumers. There is extremely little "room" (restaurants have extremely low margins) so they reprice in order to remain profitable; other restaurants (subject to the same labor cost increase) do similarly or go out of business (supply declines) which also results in price increases.