The atomic elements that make up a sunflower are the very same ones available on earth before the emergence of life, but you can’t spontaneously create a sunflower in that environment, because it relies on a whole series of subsequent innovations that wouldn’t evolve on earth for billions of years:

