If you enable VM Component Protection (VMCP) for your vSphere HA cluster, it provides protection against datastore accessibility failures that can affect a virtual machine running on one of the cluster's hosts.
If the response that you have configured VMCP to make for such a failure is not run, you should troubleshoot to determine the cause.