The bug
Arrow/Trident falls from the block only when its hitbox does not touch the solid block.
How to reproduce
Shoot in the block so that the hitbox of the arrow/trident touches any other solid block
When the block into which you shot an arrow/a trident was destroyed, the arrow/trident does not fall if its hitbox touches another solid block
Confirmed for 18w43c.