When you add a Breeze to a team, it continues to attack the players until it stops targeting the player
How to reproduce:
Create a world with the 1_21 pack
Create a team and join yourself
Spawn a Breeze and let it target you on survival mode
Add the Breeze to your team
it will now continue to attack you until you leave his target
video: https://drive.google.com/file/d/1O6BSYj9JH77jJio2BKPw2ZY4u_GCz59-/view?usp=sharing
Can confirm in 24w03a