Unliting the campfire while has any kind of uncooked food items in it drops the items and creates a duplicate of each item, however this duplicates cannot be picked and are not recognized as entities by any command or selector. Only reloading the map you can deletes these 'ghost' items.
Thank you for your report!
However, this issue is a Duplicate of MC-141898.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki