blocking a bee sting with a shield will make the bee continuously try to sting you and never removed it's stinger.
Comments 4
I'm not sure exactly what the logic is behind it, but I think it's working as it's intended right now, so it's not a bug. You could make a suggestion in the suggestion forum though.
— "If the player deflects a bee's attack with a shield, the bee continues attacking until it succeeds in hitting the player"
Quoted from the wiki. I assume since it's mentioned there, it's probably a feature (though it might be best to hear from a higher-up to confirm, the wiki can be wrong). Makes sense to me; a stinger wouldn't necessarily pierce into a shield and thus be removed from the bee, so it could continuously attempt to sting.