Option (B) is correct.
Explanation: A luminous flame is seen when the atoms of a gaseous substance are heated and start to glow, and the colour produced by each element is a characteristic property of that element.
The copper wire. In the hot flame some copper atoms from the wire's surface are heated until they glow, and they glow green-blue. The gas flame is blue on its own, so the new colour must come from the copper: it is copper's characteristic colour.
The candle. Wax burns incompletely in the candle flame, and incomplete combustion gives soot, which is carbon (that is the black deposit on the plate). Before these tiny carbon particles leave the flame they are heated strongly and glow, and that glowing carbon makes the candle flame yellow and luminous. In the gas stove, with plenty of air, the fuel burns completely, little carbon is left unburnt, and the flame stays blue.
Option (A) is wrong: the colour is from glowing copper atoms, not from the wire burning away; and the yellow candle flame is due to unburnt carbon, not to oxygen in the wax.
Option (C) is wrong: a thin wire does not cut off the air supply, and a yellow sooty flame shows that the carbon is not burning completely.
Option (D) is wrong: different elements glow with different colours; that is what makes the colour characteristic of the element.
