Answer:
1st Case
The Flame did go out because Fire needs oxygen to keep on burning thus when the oxygen was cut out the flame stopped burning
2nd case
The flame did not go out because there was oxygen the plant was giving out oxygen thus the flame continued to burn
Hope it helps ,Good luck
and mark as brainliest too :)