Host failure prompts DRS migrated VM from failover host back to faulty host.
VMware vCenter Server 7.x
VMware vSphere ESXi 7.x
Configure proactive HA using the document: Configure Proactive HA
vSphere Proactive HA is a feature that provides enhanced high availability (HA) protection for virtual machines (VMs) by monitoring the health of the underlying physical servers and taking proactive measures to prevent potential failures.
Proactive HA monitors, the server hardware components such as memory, CPU, and storage, for potential issues that could lead to failure. It then uses this information to predict when a server could fail and takes proactive measures to avoid that failure.