AnswerThis could be attributed to the molecular geometry of the molecule. Ammonia has a trigonal pyramidal shape, due to its lone pair, which distorts the electron density causing a shift in the distribution of the charges in the molecule. This creates the asymmetrical distribution of charge in the molecule making it polar. The boron trifluoride on the other hand has a trigonal planar shape, this geometry is symmetrical and since the atoms attached to the central atom are the same, the charges are distributed equally. The partial charges created due to the difference of electronegativity of boron and fluorine cancel each other.