Question: why noble gases form compounds with oxygen and fluorine?
Answer: noble gas form compounds with oxygen and fluorine only because they are most electronegative elements. So they can ionise noble gases also.