My understanding is that enough meals are loaded for passengers and crew. When the passengers are done the crew get whatever is left over, which is whatever is most unpopular.
At least the CC know from personal experience how irritating Afternoon Tea is on a regular basis!