A surge in the price of red chili was the main cause of June's inflation of 0.23 percent, the Central Bureau of Statistics BPS said.