RHEL 10 must not have the "gdm" package installed.
Unnecessary service packages must not be installed to decrease the attack surface of the system. A graphical environment is unnecessary for certain types of systems including a virtualization hypervisor.
How this relates to the STIG checklist: STIG vs SCAP benchmark.