Here's why:
* Detrital sedimentary rocks are formed from the accumulation and cementation of sediment particles. These particles are called detritus, which is derived from the weathering and erosion of pre-existing rocks.
* Sediment is the loose, unconsolidated material that forms sedimentary rocks.
So, while not a rock itself, sediment is the material that makes up detrital sedimentary rocks.