6:118-121 Tasmiyyah
Verse 119 tells this is about Tayyaab animals whose flesh is usually consumed, not about all food, the mention of exemption confirms it وَقَدْ فَصَّلَ لَكُم مَّا حَرَّمَ عَلَيْكُمْ and we know that it is only certain kinds of animals which are announced haram. The phrase, mention of God’s name on them, is used for mentioning of God’s name on slaughtering of animals, that is why, when not mentioned God’s name, the “food” becomes Fisq. we know, no other food can become fisq if we dont mention God’s name on it.