Iranian President Masoud Pezeshkian apologised to neighbouring countries for Iran's attacks across the region.