player looking around when riding something

i noticed on a server im working on that if i sit on an armor stand with a command and make it face the same way i do, and then make it tp forward it goes in the direction im looking, but when used on anyone who isnt me it doesnt look the way they do and wont let them look around(they can move the camera around but their head isnt actually moving and the armor stand doesnt look where they look). i also tried letting my friend open the datapack on a single player world and try it again and it worked there but when on the server it doesnt, does anyone know what could cause this? here are the commands im using to test that

(spintest is the armor stand name) ride @p mount @e[name=spintest,limit=1] execute as @e[name=spintest] at @s rotated as @p run tp @s ~ ~ ~ ~ 0 execute as @e[name=spintest] at @s run tp @s ^ ^ ^0.1

Continue to help post