Description:
Attacking an enderman in a cave does not make them persistently angry at you. They teleport away after you have hit them, which is normal, but they seem to forget who the attacker was when they teleport back, or they simply teleport to some area unknown and not fight back. (This bug would be an awesome feature, but it does not seem intended)
Steps to Reproduce:
Attack an enderman in a cave.
Expected Results:
The enderman will persistently fight you to death.
Actual Results:
The enderman is not persistent in fighting.
Remark:
This does not always happen because it depends on the cave size and where you fight the enderman (e.g. against a wall), but some endermen do this which does not seem to be intended.
Linked issues
duplicates
Comments

Thank you for your report!
We're tracking this issue in MCPE-35306, 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:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.