The "Uptime" metric displayed in the vCenter Server performance charts measures the uptime of the virtual machine process (vmx process) running on the ESXi host.
It does not reflect the actual continuous uptime of the Guest OS itself.
During a vMotion, the execution state of the virtual machine is transferred to a new vmx process.
Because a new vmx process is spawned, the uptime counter for the process is reset.
This is expected behavior.
It does not indicate the Guest OS restart and no action is required.