This issue may occur if the game optimization feature is enabled for Honkai: Star Rail in NVIDIA GeForce Experience or the NVIDIA App.
To resolve this, please open the NVIDIA application and click the Restore button for the game's settings before launching. This will allow your in-game graphics settings to apply correctly after a restart.