The president is losing ground with key voting blocs as concerns over the Iran war and cost of living mount.