Markets pulled back from record highs as geopolitical tensions weighed on sentiment. Energy was the only sector in the green.