The company’s second-quarter earnings show how hard it can be to keep the attention of the country’s fickle and increasingly hard-to-impress consumers.