If the client is able to access the website from his/her end, it means the connection is perfect and no issue with connectivity and the Security Group configuration also seems correct.
We can check the internal firewall of the Windows 2019 IIS server. If it is blocking ICMP traffic, we should enable it.