U.S. stocks closed slightly lower as oil prices and 10-year Treasury yields rose amid unresolved U.S.-Iran strikes. Gold, silver and bitcoin gained, while Broadcom fell after a slight miss in revenue guidance.