How major US stock indexes fared Thursday, 10/12/2023