Gold and silver rose, with a US military buildup in the Middle East keeping markets on edge and prompting some traders to buy haven assets.