Depending upon the electronegativities of the sharing atoms, a shared electron pair may be attracted at varied degree between the two atoms. This results in a partial positive and negative charge upon them and results in a polar molecule. Ammonia is thus, polar in nature.