Sodium hydrogen carbonate is a base which when mixed with an acid, will give brisk effervescence. Test tube A contains acetic acid which is a weak acid, so it does not give much effervescence. But test tube B contains hydrochloric acid, which is a strong acid and thus gives brisk effervescence.