The bug
Drowneds holding a trident will still target the player if they switch to creative mod far away.
How to reproduce
Summon a drowned with a trident
Switch to survival
Get away from the drowned and switch to creative
→ ❌ The drowned will stay throw tridents at you even though you are in creative
Hm, that screenshot is good evidence but I can't reproduce this myself – the mob immediately loses interest when I switch gamemodes.