If someone is teleported to someone in spectator they will move to the player.
To reproduce /tp player1 player2 well player2 is in spectator mode!
Also I was using command blocks when this happened.
Comments 3
Intended, you can use m=
to determine to gamemode. And probably duplicates MC-46662
Pretty sure this is working as intended.