Hi Iniobong Nkanga,
When a team is created an Azure AD group is also created. Adding to the team adds to this group. Adding to the group adds to the team but the group sometimes is not in the list of members as there can be a delay. So another task will sync this membership and show up in the logs.
There could be an automated task, rule, or sync scope setting that is causing this behavior.
Here are some related threads describing similar behavior:
https://www.reddit.com/r/Office365/comments/mjelvu/microsoft_teams_members_being_added_and_removed/
I've added the Teams tag to this thread so that engineers from Teams can add more context.
-
If the information helped you, please Accept the answer. This will help us as well as others in the community who might be facing similar issues.