Certain services require CNAME records at the apex of a domain like Railway. Many registrars don't support this functionality. Other DNS providers have introduced newer DNS standards such as ALIAS and ANAME records that allow CNAME-like functionality at the apex.
This ticket tracks this request.