When a mob has an item equipped with the can_be_sheared flag of the equippable tag set to true, then a player can get it to drop said item by interacting with it while holding shears. This currently does not work on player or mannequins, even though there doesn't seem to be a good reason to and I even think this mechanic could have very fun minigame potential.
How to reproduce:
This is easiest to reproduce by getting an item which can also be directly equipped by interacting with an entity like so:
/give @s dirt[equippable={slot:"head",can_be_sheared:true,equip_on_interact:true}]
Simply right clicking any mob with it will cause it to wear the item on it’s head and right clicking the mob again with the shears will cause it to drop the item again. Observe that the item doesn't drop for mannequins (/summon mannequin) or other players.
Thank you for helping us improve Minecraft! We saved your files: