Why did the egyptians have food and offerings inside the tombs?
In the tombs of kings they were put there so that the deceased would be able to eat in the afterlife (as they believed they lived on after death). If it was a temple of a god offerings would be made in reverence to please the gods as the ancient Egytians thought that by angering them their crops would fail; Egypt is a volatile place to live after all.