My understanding is that only BA can choose whether to make a credit for the flight in the same way that when original routing credit is requested with AA before taking a reroute that AA will be the one making the credit despite the flight taken
Since it is an AS flight, BA would be contacting AS for credit