HOUSTON >> Oil prices gained more than 1% today after attacks by the U.S. and Iran underscored the fragility of their interim peace deal, while cautious hopes of a continued recovery in energy shipping through the Strait of Hormuz limited gains.