BEIJING—As Chinese stocks reached another in a string of highs on June 12th, the nation’s top securities regulator, Xiao Gang, suggested to an elite group of Communist Party officials that the market still had room to climb.

The next day marked the start of China’s worst market downturn in years.