Hi,
Please check if the Windows Server 2022 standard on your Hyper-V VMs is activated. Windows Server has an evaluation period of 180 days. If the evaluation period is expired, Windows Server will automatically shut down every hour. If Windows is not activated, you need to activate or re-install it.
You can also open Event Viewer and check the System log to see if there are any related events.