How can unexpected resignations of high constitutional office holders impact public trust in democratic institutions?

The resignation of Vice-President Jagdeep Dhankhar was described as 'totally unexpected' and raised concerns about hidden reasons. I want to understand how such sudden resignations affect people's confidence in the stability and transparency of India's democracy.