Mobs with passengers has some broken movements. Horses will move side ways while there is a passenger on them, this can been seen when a skeleton trap occurs. Skeletons/illusioners/strays, but not pillagers, when strafing while riding on a mob doesn't face at the player properly.
Possible duplicate of MC-160332, since this ticket has more information and is updated frequently.