Probably luck. Unless those are javelin throwing cavalry in which case they might have weakened the elephants first (multiple hitpoints).