Hi Kazmcc,
IIRC down to the thickness and type of "skin"/material being stung. Most/all(?) insects have a thin outer whereas we/mammals etc have a thick outer layer, either skin or suit, which traps the barb. The stinger is harder/stronger than "skin" and the soft tissue it's attached to the HB...