There may be a problem with the target selector towards arrows contained in a team.
What I expected to happen was...:
Ater typing /execute @e[type=spectral_arrow,nbt={inGround:1b},team=red] at @s run tellraw @a "got" ,"got" is printed on chatboard
What actually happened was...:
Nothing happen after typing.However,it works when the target selector only contains "type=spectral_arrow","nbt={inGround:1b},or both.Inferring that maybe the problem comes from viriable of teams?
Steps to Reproduce:
1. Typing /execute @e[type=spectral_arrow,nbt={inGround:1b},team=red] at @s run tellraw @a "got",nothing happened
2. Typing /execute @e[type=spectral_arrow,nbt={inGround:1b}] at @s run tellraw @a "got",works
3. Typing /execute @e[type=spectral_arrow] at @s run tellraw @a "got",works
4. Typing /execute @e[nbt={inGround:1b}] at @s run tellraw @a "got",works
Linked issues
duplicates 1
Comments 2

Thank you for your report!
We're tracking this issue in MC-108495, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
I think this report is already being tracked in MC-108495