Magnesium metal when reacts with an acid gives off hydrogen gas in the reaction. In test tube A fizzing occurs more vigorously because HCl is stronger acid than acetic acid. Hence, HCl liberates hydrogen gas more vigorously, which causes fizzing more vigorously.