Question: are ninja and samurai enemies?
Answer: Ninja were a type of samurai, samurai who had additional training in spying, scouting, specops, etc., but they were still samurai, so this is asking if samurai rivaled samurai. Of course samurai from enemy clans would fight each other, and the ninja would do the same, though they'd mostly be spying on the enemy.