<p>Gold edged lower as oil rose in response to Iran stepping up attacks in the Strait of Hormuz, even as energy flows through the critical waterway were recovering.</p>