Inflation fears, foreign investor selling and geopolitical tensions around the Strait of Hormuz weighed heavily on market sentiment