You can turn off suspend in gnome settings under the power tab as displayed.
Fedora 38 enabled automatic suspend on all versions, and there have been several threads on that topic, with fixes listed. A quick search should show these.
The automatic suspend only seems to look at keyboard and mouse activity to remain active. If those are idle then the system tends to suspend regardless of what else may be happening or active.
After posting I noticed that GNOME is respecting my Settings as long as I’m logged into the GUI.
However, the power settings are user-specific, so the login screen essentially has no setting, at least not that can be configured from the desktop.
This sets the timeout to 0 (meaning off, in this context) for gdm (the login screen):