Dual identical monitors swap settings after displays turn off
This is the combination of:

macOS not caring about serial numbers
a race condition.

See my detailed answer in Primary display randomly changes