Astraeus, the genus of earthstars, has a number of species, at least two of which can be found locally. Most of the species are "hygroscopic" which means that they absorb moisture from their surroundings. When it is wet, the rays of the "star" open up, and as it dries out, the rays curl back together.
The ball on top of the star contains the fungus' spores.