If you put a shield when an arrow has already flown at you, then this arrow will fly through the shield and you will receive damage
Related issues
duplicates
Comments

We do not have enough information to find the cause of this issue.
Please record a video of this happening and attach it to this report.
If you are on Windows, you can use Windows
+Alt
+R
to open a built-in App for recording game footage.
In case you don't have a program to record videos, we recommend using the free recording software OBS.
In case the resulting video file is too large to be uploaded to the bug tracker directly, please upload it elsewhere (e.g. as unlisted video on YouTube) and link to it here.
This issue has been temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki

I have this problem, very annoying
This is most likely a duplicate of MC-100949, judging by the information you've provided in this ticket.
Is the sheild on cooldown?