The default affinity value for MPLS TE tunnel is 0x0 with mask 0xFFFF. The mask means that 16 bits of a link attribute-flag are compared with tunnel affinity value. At least 16 first bits of attribute flag should be zeros. Each bit which has 1 in the mask is compared between affinity and attribute-flag. Let's look at a default example.
If values of an interface flag match the tunnel affinity values for the bits specified by a mask (1 in a mask means that algorithm must check the bit) than tunnel can use this particular link to build LSP.
It's easy to use 17th bit in a link attribute-flags to mark "bad" links. By default tunnels will use links with attribute-flag 0x1ffff because tunnel affinity mask does not require to check 17th bit. The avoiding of "bad" links is configured in path-option with attribute-set. If this path-option fails tunnel will use default affinity and build LSP over 0x10000 marked links.
So now mask asks us to compare 17 bits. Interface attribute flag and tunnel affinity value do not match because 17th bits value is different. Tunnels with default affinity value are not affected by this configuration at all because they are still checking only 16 bits.