 He describes that heavens and earth as symbolic of the social order which came to an end in the flood. The sun and the moon and the stars and the earth still exist. We all know that. They were not actually destroyed by the deluge. So, what does it mean? It means that Peter is using these terms in a pictorial manner.