Endermen are becoming hostile when hit by ender dragon. I'm not sure if they are hostile only when hit by ender dragon or if they are hostile when taking damage by anything else. I died several times in End because of this bug. The ender dragon simply hits few endermen and they all start attacking me. Please, if it's a bug, fix it.
I'm sorry if this bug was already reported, I din't find any report for this bug.
Related issues
Comments

Reopening to resolve as a duplicate.

Thank you for your report!
We're tracking this issue in MCPE-22150, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues in Discord or Reddit
Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response
Is this still an issue in the latest version?
If it is, please be sure to include 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 ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki