The correct options are
A If i increases, A will repel B
C If i decreases, A will attract B
IF i increases, the flux between the two will increase. Therefore by Lenz's law a counter current will be induced such that it opposes the increase in flux .This results in an induced magnetic field that repels original magnetic field of A and hence A and B repel.
IF i decreases, the flux between the two will decrease. Therefore by Lenz's law a counter current will be induced such that it opposes the decrease in flux .This results in an induced magnetic field that is in the same orientation as the original magnetic field of A . And hence A and B attract.