As financial markets settled into an unusual state of tranquility, with stocks slowly grinding higher week after week and bond yields hovering in narrow ranges, many on Wall Street started to prepare for a sudden jolt.