Delta Air Lines, Amazon, the United States Postal Service and others have said they are raising prices because of higher energy costs connected to the war in Iran.