Hi,
Thanks for posting here!
The machine account password change is initiated by the computer every 30 days by default .
This value can be modified to a custom value using the following group policy setting in Active Directory.
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options
Note: machine account password changes are driven by the CLIENT (computer), and not the AD.
For more information ,you can refer to the following link:
https://learn.microsoft.com/zh-cn/archive/blogs/askds/machine-account-password-process-2
Best Regards,