Hi @Md. Nasir Uddin
I think the problem comes from RID master role. The DC with rid master role must be online when you create new object in Active Directory.
During the domain join, a computer account will be created automatically .
To get more details about the RID master please refer to the following link
In your case ,It seems that the RID master hosted with PDC in the same domain controller.
To check fsmo roles
netdom query fsmo
#to move RID master to another DC
Move-ADDirectoryServerOperationMasterRole -Identity "ADC_Name" -OperationMasterRole RIDMaster
Please don’t forget to accept helpful answer