When Photoshop or Lightroom Classic do strange things, it can be the preferences are corrupted. You can reset the prefercnes in the General panel, lower right side, click the "Reset Preferences On Quit" button.
Ken Seals - Nikon Z 9, Z 8, 14mm-800mm. Computer Win 11 Pro, I7-8700K, 64GB, RTX3070TI. Travel machine: 2021 MacBook Pro M1 MAX 64GB. All Adobe apps.