nitrogen flouride is stable because flourine is highly electronegative in nature and small in size and forms a strong bond with nitrogen.
but chlorine and iodine are comparitively larger in size and less electronegative and the bond formed by them is comparitively weaker and highly unstable.