The two sides have targeted each other’s military positions since Thursday night, when Afghanistan launched strikes in response to Pakistani attacks.