U.S. and Israeli attacks in Iran have prompted retaliatory strikes around the Gulf as the conflict spread across the region, rattled global markets and sent oil prices sharply higher.