why is it that sometimes when factoring you don't cancel out any factors when multiplying

for example 16 in the denominator

2x2x2x2 and if the other factor from a different fraction was 3 then

it would be 2x2x2x2x3 and not 2x2x3 with two of these 2 canceled?