I edited commands
tp command does not seem to update nbt information.
This means that when you run data modify entity @s Rotation[0] set value 30f, the mob actually looks at the same place
But when you run tp @s ~ ~ ~ ~30 ~ it does not match.
Of course, it is possible to use these features to implement a mob that moves while looking at one side, but it seems like a bug.
execute on passengers run data modify entity @s Pos[1] set form entity @n[ (must be vehicle) ] Pos[1]
try this one. is will be work.
Oh, I thought my post was deleted for some unknown reason. I hope this bug gets fixed soon.