VMware NSX
VMware NSX-T Data Center
This issue may be caused by the static route having been configured with a scope set for its next hop. When the next hop value is created it can have a scope defined, this scope will set where the static route is applied.
A scope can be an interface, a gateway, an IPSec session, or a segment. If a value is set here such as an interface it needs to be applied to an interface on both edge nodes. If only one interface is selected, such as an interface on edge 1 then edge 2 will not have the static route realised. In the below image, only an interface from edge 2 is in the scope so edge 1 will not have the static route pushed to it. Meaning when edge 2 is failed over to edge 1, no valid realisation interface is present so the static route is not applied.
Networking > Tier-0 Gateways.Routing > Static Routes.