Blazing goIITian
well
u see
A is more electronegative than B
so the bond between H-A will be weaker than H-B
so H-A will react with bases readily than H-B