The health display of a mob you're riding occasionally hides the mob's max health. However, it corrects itself upon the mount's health being updated (being healed or taking damage). This is most noticeable on striders and pigs since they do not heal naturally, but it can be caught on horses.
To replicate:
Get a mob, preferably a strider or pig.
Mount it and take note of its HP
Now deal any amount of damage it, just don't kill it.
Move far enough away from the mob so that it unloads.
Go back to the mob and mount it.
Expected Result:
You see your mob's health, that it has taken damage and is not at full health.
Actual Result:
You won't see the empty, or half-hearts of your mount, so it'll look like your mount is at full health.
Thank you for your report!
We're tracking this issue in MCPE-108409, 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