Wholesale prices rose 4.3 percent in July from a year earlier largely due to higher energy costs and price increases for some food items, the Bank of Japan said Tuesday.