In brief
column-gap sets a gutter and participates in multi-column, grid and flex layouts. It does not automatically add the same space at the container's outer edges.
Useful to know
column-gap sets a gutter and participates in multi-column, grid and flex layouts. It does not automatically add the same space at the container's outer edges. [1]
If an end item touches the border, consider padding separately. Flex direction also affects whether the gutter appears between lines or individual items.
Sources
For further detail and to check the information: