Did you install postgres via yum/dnf or via the CWP web admin panel? If via the panel, you would need to call it via the version number you installed. For example, with version 17:
systemctl unmask postgresql-17
systemctl start postgresql-17
systemctl enable postgresql-17
(I do not run pgSQL on my servers, so I did a test installation via the CWP GUI to discover this little nuance.)