I’d say, all else equal, whether to book BA or AA depends on ticket price.
For a 10000 mile flight at the lowest business class fare class on AA/BA, you earn more AA miles on BA if the base fare is below $2700. Conversely you earn more AA miles on AA if the base fare is above $2700.