There is a ping response from ESXi host's management IP address when pinged from the same subnet.
There is no ping response from ESXi host's management IP address when pinged from another subnet.
This problem points to a misconfigured or absent default gateway for the ESXi host's default TCP/IP stack.
Check the gateway setting of the ESXi host's default TCP/IP stack in vSphere Client:
Target ESXi host > Configure > Networking > TCP/IP Settings
If the gateway IP address setting is incorrect, fix it with below steps:
1. Click the Edit button of the default TCP/IP stack.
2. On wizard, select "Routing" page.
3. Fix the gateway IP address to the collect IP address.
4. Click OK button.