This is done to indicate that slices are coupled to layer stacking order positions, not layers.
You can greatly confuse your layer to slice routing by moving layers around in the stacking order. To prevent this, slices take a fixed layer input. A slice will always a layer position in the stacking order, regardless of what layer that actually contains or is called.
I hope that explains things.