I was flying around with the elytra and I saw a skeleton. I wanted to dive bomb him/ smack him while I was flying. I hit him, and I saw the Crit particles, but no damage was done. so then I land on him, and he is just standing still, facing south, like mobs with the NoAI tag do. And he doesn't attack me. I was in an extreme hills biome. Also, I was in peaceful mode. I also found another one nearby. And when you run into them, you get pushed back.
Thank you for your report.
However, your ticket has been resolved as a duplicate.
This issue has been linked to the original bugreport: MC-89923. You can find or add further information on that report.
Please search before reporting any bugs, as it's likely that one exists already.