Stocks’ recent gains and worries about a snapback in volatility lead some investors to seek protection