Check the monitor settings and ports to make sure it is set up with a “PC” input. HDMI blanking can cause the display to power off, then when it powers back on it looks like a “different” display, thereby resetting back to defaults.
Also worth trying a different cable if you’ve got one (or e.g. an HDMI->DVI converter) to rule that out as a factor.