The reason is that 5 can also appear in other columns in block 6 therefore it does not have to be in the highlighted column 7. In block 9, the 5 has to be in column 7 therefore it cannot be in column 7 in block 6 so we can remove it from column 7 in block 6.