One possible explanation for this glitch is the Fast Startup feature, which is designed to speed up the booting process by storing information in a file and retrieving it upon startup. This feature might be causing the automatic restart after the update installation.

Image Source - Twitter