Sometimes guards decide to escort mobs down the eastern road and are joined up with them.When you attack someone they have agreed to escort, the guards will protect them and attack you.Not a bug.