The correct option is B.
Acid-base indicators show color changes upon mixing with acids and bases according to their pH.
Phenolphthalein is colorless under acidic and neutral conditions but turns pink in the basic solution.
Methyl orange is red under acidic conditions and yellow under basic conditions. The solution turned red upon adding the indicator. So, the right option is B.