Oil prices rallied while the dollar and yen advanced Monday after Hamas launched a shock attack on Israel at the…