Brazil's stock market has experienced a reversal of foreign investment flows in May after reaching record highs of 198,657 points in April, with the Brazilian real weakening to R$ 4.892 against the dollar. The shift is attributed to growing uncertainties surrounding regional conflict in Iran and concerns about accelerating global inflation.