Carbonate rocks are different in different places and at different times. This is because varied organisms lived there and produced the carbonate. Also various events happened, like underwater landslides and earthquakes, which disrupted the beds. Sometimes the deposition of carbonate was interrupted, and different organisms produced silica, which we see as beds of chert.