Models and lights masking

Hi, I am trying to understand how the masking works between models and lights. I have created a barebone project with only a directional light, a spot light and a capsule. I only have a single script bound to the capsule, which contains a single line changing the mask of the model to 2. Since the mask of the lights is defaulted to 1, I would assume that none of the lights would affect the model, however the spot light is still applied.

So I wanted to know if I misunderstand how to use masks and spot lights, or if there is an issue in the masking system. Here’s the link to the project cheers.