When you hit a mob during the moment that it is taking damage from fire, it will not react to the hit. It is possible it is not taking damage at all or is just not being knocked back.
Example included as video:
https://youtu.be/7Pa5z0nDcoY
Not seen: also affects passive mobs on fire and mobs on fire from non-weapon sources when hit by weapon.
Only tested on 1.15.2 and release 1.16 release candidate 1, have not tested on previous versions.
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-100769, which has been marked as Works as Intended - this is an intentional game feature. If you have a different opinion, please visit the Feedback website.
Please use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord