When using /warp in a vehicle, the vehicle isn't teleported but the player's position is changed and therefore you turn sideways.