This has happened in a few different versions so far, but every so often if I make it back to my items after respawning too quickly, not everything will spread out or be able to be picked up. Usually the affected items are enchanted. I just had it happen with an enchanted trident. I got knocked out by a phantom, and when I got back to my item pile, everything except the trident spread out. It stayed where I died, and even though I was standing right inside it, I couldn’t pick it up and it despawned.
This issue is being tracked at MCPE-121025.