At 20BB, medium pairs are too strong to fold to a 3-bet but play poorly as calls; jamming maximizes your equity and fold equity.