The pheonix is basically a symbal for the city. The mythical creature dies, and is reborn. All generations come to an end by: war, floods, forest fires, etc. The point is that they are reborn, and they have to learn from their mistakes to have a sucsessful society.
It is a metaphor for the rebirth of society after the war had destroyed all the cities at the end of the book.