Martinis and other cocktails, grappas, apertifs, digestifs are usually consumed without food (save small hand snacks).
You wouldn't want to pair grappa with fish or salad. Wine yes, but grappa, cognac, etc. are not really to be drunk while eating, but rather after a meal.
Wines, primarily, and beers are consumed with food. IMO wines are more complicated to pair with food but there is a lot of literature already out there on how to do that.