It’s punishment.
Based on the novel “Adam Stvořitel” by Karel Čapek: angry at the world for its imperfections, Adam destroys everything except himself. God, as punishment, lets Adam rebuild the world to his whim and will.