Stock market today: Indexes rise as stocks whipsaw after inflation-fueled decline