The allay sounds were slightly updated on Java, however, that hasn't applied in the recent Bedrock beta/preview.
How to Reproduce
Spawn an allay.
Give item.
Take the item away from the allay.
Try to kill it (the hurt sound is the noticeable difference here).
Repeat steps on Java
Pay attention to the sounds
Heard Result
The allay sounds differ from Java.
Expected Result
The allay sounds should be in parity and up to date with Java.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki