Oil rises; markets weigh Red Sea attacks, US rate cuts