why do noble gas form compounds with oxygen and flourine only?
Not all the noble gases combine with oxygen and fluorine. Only the heavier noble gases like Xe, etc will react with oxygen and fluorine.
noble gas form compounds with oxygen and fluorine only because they are most electronegative elements. So they can ionise noble gases also.