Sedimentary rocks are formed by the accumulation and compaction of sediments. Clastic rocks are formed when sediments are transported by wind, water, or ice and deposited in a new location. Organic rocks are formed when the remains of plants and animals are deposited and buried in sediment. Chemical rocks are formed when minerals precipitate from a solution and settle out of suspension.
In this case, the sedimentary rock is formed when minerals precipitate from a solution and settle out of suspension. Therefore, it is a chemical rock.