US wholesale inflation fell unexpectedly in June as energy and gasoline prices dropped, but rising Iran tensions could threaten the recent relief in price pressures.