I believe it's so that you can use -1 to refer to the last gridline. If it was 0-indexed there would be no way to target that final gridline, or there would be a one-off error when using negative numbers.
Example: https://css-tricks.com/things-ive-learned-css-grid-layout/#a...