Because he either suspects that she is a man or he was trying to goad her in to taking action like she had been doing.