Items dropped from the directly creative inventory may disappear when picked up, and it's a random chance which ones will. The items appear as gaps in the inventory and only show when reloading the entire world (leaving and rejoining).
This has been the case since at least 1.19.2.
We do not have enough information to find the cause of this issue.
To make your bug report as effective as possible, please try and include the following steps to reproduce the problem:
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki