I was playing with my cousin on my Minecraft world, he was on an Android Galaxy Tab A (2016) SM-T580 (not sure if this is needed but just incase) and i am on Windows 10. we are playing on the LAN type world. He was in the nether when he was killing Hoglins in the crimson forest, and one attacked him (doing no damage but still had knockback) on peaceful. I understand most mobs in game (peaceful means they do no harm or attacks, and they do attacks in Easy or higher) in peaceful do nothing at all. I hope this helps you fix this!
Thank you for your report!
We're actually already tracking this issue at MCPE-71939, 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.
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 – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki