In neutral molecules such as HX, due to polarity of the H−X bond a partial positive charge is generated on the halogen atom X.