If your getting attacked at even a slight range from behind by a shinobi you won't always be able to target switch to them attacking you due to them being at a distance.