Why xe forms compounds with o and f

Why does xenon form compounds with oxygen and fluorine?