Scroll-margin-block-end property is set on the child elements inside the container, so that snap position is offset by a margin inside the container in the block direction.
In this case, snap position is set to end in block direction, so the element in focus should snap into place at the very bottom of the container. But instead, because of the scroll-margin-block-end value, the element in focus is offset by 20px margin between child element and container.