When editing a URL in the body of the document, Word's automatic conversion of URLs into hyperlink comes into play. That is the situation you are describing.
Yes, and that behaviour is inconsistent between editing it manually and using search-and-replace.