Unfortunately for investors, the market hasn’t been able to hold on to early gains, lately. What used to be a trend of late-session buying—a trend that had emerged in the wake of the U.K.’s decision to exit from the European Union on June 23—has morphed into a pattern of selling.