libmongoc driver failOver machenism not working when whole VM stopped

Have you taken a look at the logs for the application and your Kubernetes deployment?
The app restart is likely triggered by the restart policy for your Kubernetes deployment.