I tested this with phantoms. I spawned 2 of them together and the first one hurt me, but soon after the second did not give me any damage
This also happens while you are regenerating your life or taking damage for something like potions effects
Device: LG K10
Thank you for your report!
We're actually already tracking this issue at MCPE-64851, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki