Both numbers must be multiples of 12, and their GCF must be exactly 12 (not larger). Check 24 and 36: both are multiples of 12, and GCF(24,36)=12.
24=12×2,36=12×3,GCF(2,3)=1
Since 24 and 36 are 12 times two numbers with no common factor, their GCF is exactly 12. The other pairs include a number that is not a multiple of 12.