A 20-year-old restaurant worker shot his co-worker in the head, killing him inside the business, Texas authorities say.