The kanji 食 depicts a mouth (口) with a lid, and something inside, resembling food being prepared or eaten with a utensil. It visually represents the act of eating and the concept of food.
'Shoku' — sounds like 'SHOCK' when you get a sudden craving for delicious FOOD.