US stocks rose on hopes for a US‑Iran ceasefire as Iran rejected a temporary truce and US President Donald Trump ramped up threats