How can regulatory actions like grounding aircraft impact public trust in aviation safety?

The DGCA recently grounded four aircraft after a fatal crash. I want to understand how such actions influence people's confidence in the aviation sector and what further steps can be taken to ensure safety.