Major indices closed lower on Thursday as traders were locked in on rising Treasury yields and oil prices amid the US and Israel's ongoing conflict with Iran.