This is because the electronegativity of nitrogen is greater than that of fluorine, so the electrons in the N-F bonds are pulled towards the nitrogen atom. This creates a partial negative charge on the nitrogen atom and a partial positive charge on the fluorine atoms. The molecule is therefore polar.