A 9 mm will go in one side and out the other....
A .22 will go in, but not enough power to exit, therefore it bounces around inside the skull like a pinball to do more damage to the brain....
(I'm not a gun guy, but watch enough forensic file shows to pick that up....)