I caught a piglin holding up its crossbow as to fire at a hoglin beneath it. The piglin, however, had no arrows loaded into its crossbow and still held the crossbow, trying to fire at a hoglin without an arrow.
I believe this happened because it was interrupted whilst trying to load its crossbow because just earlier I had given him a gold ingot while he was loading his crossbow.
Linked issues
relates to
Attachments
Comments
I interrupted its loading so the piglin thought its crossbow was loaded and tried to attack.

Oh ok now I see the problem. It could be related to MC-87093.
Can confirm in 20w51a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
The piglin I tested it on was right next to a hoglin it was trying to hunt