When the player tries to use a spawn egg in a position that is blocked by a projectile's hit collision (not it's hitbox, but the box used for hit/deflection detection), the entity will not be spawned but the hand animation plays. This issue closely relates to MC-208427 MC-223023 MC-167039 and may be the same core issue, but was reported standalone.
Steps to Reproduce:
Summon a fireball above the player
/summon minecraft:fireball ~ ~2 ~
Try and spawn an enderman below the fireball, using a spawn egg
Observed Behavior:
The entity is not spawned, but the hand animation plays.
Expected Behavior:
The player would either be able to summon the entity properly through the collision box, or the entity should not be summoned and the hand animation would not play.
Screenshots/Videos:
[media]
Notes:
Linked issues
relates to 3
Attachments
Comments 1

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki