I'm trying to make it so items cannot be destroyed through commands and discovered that items turn invisible when they would normally be destroyed by something like a cactus, lava, or fire (I have not experienced this with explosions), the item's hitbox disappears but I can still pick it up.
The command I used was "/execute as @e[type=item] run data merge entity @s {Fire:-32767,Health:32767,Invulnerable:1b}" in a repeating command block.
I've attached a video of me showing this bug.
Seems like MC-53850