It is an interesting question. Naturally people imagined the gods as enjoying food like themselves, but also imagined they might have special god-food. The Greeks' stories often feature 'ambrosia' as a nectar/honey food/drink that sustains the gods and also imbues immortality on mortals if they eat, hence it is prohibited.
Similarly, the Eden story suggests the prohibited tree/fruit makes the eater 'like one of us' according to the gods/spirits of the story. The choice to symbolize this forbidden food as a tree is certainly connected to the ubiquitous connection of life and fertility to trees and fruit and the goddess in her many forms. The Norse mythology depicts the gods as sustained by the apples of Idun a young woman, a myth with ancient connections.
In the OT, God send 'manna' down from heaven. It tastes like "wafers made with honey". Psalm 78:25 says the manna was angel food.
The honey/nectar/fruit associations are anciently assumed to be a favorite of the gods.
However gods also have a taste for meats and grains. In a number of ancient myths the gods are seen as desiring to eat flesh and grains but seemingly unable as terms of their separation from mortal men. Humans wishing to appease the gods would send up meat smoke to please them. As a practical matter what was burned was often the inedible parts, the blood, bones, fat and innards.
And apparently gods like wine. Judges 9 says
‘Should I leave my wine, which cheereth God and man, and go to be promoted over the trees?’
When making burnt offerings a gallon per lamb is the designated ratio in Lev 23. Again in this passage the food is enjoyed vicariously. The God can merely enjoy the smells.
I contrast the stories in Gen 19 and 26 assumes Yahweh and other spirits can share a meal with people. These very anthropomorphic stories stand out in the OT and likely retain are some very ancient conceptions of Gods from the northern tradition.