Answer:
This is because Lithium nitride is an ionic compound and the force of attractions between the lithium and nitride ions is far more stronger. On the other hand, nitrogen trifluoride is a covalent compound and it has London dispersion forces and dipole interactions which are very weak as compared to ionic interactions.