This is expected expected behaviour in VMware ESXi due to NetBIOS naming is limited to 16 ASCII characters.
Computer names cannot exceed 15 characters. The 16th is reserved as a NetBIOS Suffix. You cannot specify a DNS host name that differs from the NETBIOS hostname.
The new computer account name that appears in the Active Directory takes the first 7 bytes from the short DNS name of the ESXi host. For example, one dash (-), 7 randomized characters, and one null character
For more information, see Microsoft support article 909264.