The rooms mechanically reset, we see the cog wheels do that, there is no temporal reset. The food, the grave and the flowers are the plothole, not the diamond wall. But... It could be that “The Veil” (the Valeyward, perhaps?) is actually doing all that. Filling in the grave, new flowers, new food.