This behavior is by design in VMware NSX for vSphere 6.x.
Note: VMware recommends not to un-register the NSX Solution plug-in manually.
For more information on removing NSX installation safely, see the Safely Remove an NSX Installation section in the NSX Installation Guide.
To avoid this issue, ensure that you follow these best practices when moving an ESXi host out of the cluster.