Pressing the Down key while selecting a member changes the role.
Microsoft Teams admin center > Team > Manage teams
Pressing the down key with a member selected changes the role.
Occurs in IE 11.
This can happen with Edge and Chrome.
Change to a method other than the drop-down list, because it is not good if the owner is deleted without permission.