The correct answer is A. To fight.
To cross swords means to engage in a duel or fight with swords. It is a metaphor for a confrontation or conflict. The phrase is often used in a figurative sense to describe a verbal or intellectual battle.
Option B, to defend, is not the correct answer because to cross swords implies that both parties are engaged in the fight. Option C, to kill, is also not the correct answer because it is not always the goal of a sword fight to kill the opponent. Option D, to rob, is also not the correct answer because it is not typically the goal of a sword fight to steal from the opponent.