Even TCP and UDP do not have such a distinction. Read the RFCs for those protocols, and there is no mention of that. IANA assigns the port numbers, and it decided that ports below 1024 are Well-Known port numbers. See the Service Name and Transport Protocol Port Number Registry, where IANA has chosen different port ranges for different functions:
Port numbers are assigned in various ways, based on three ranges:
System Ports (0-1023), User Ports (1024-49151), and the Dynamic and/or
Private Ports (49152-65535); the difference uses of these ranges is
described in [RFC6335]. According to Section 8.1.2 of [RFC6335],
System Ports are assigned by the "IETF Review" or "IESG Approval"
procedures described in [RFC8126]. User Ports are assigned by IANA
using the "IETF Review" process, the "IESG Approval" process, or the
"Expert Review" process, as per [RFC6335]. Dynamic Ports are not
It just so happens that OS manufacturers have decided to restrict some port numbers, but that is off-topic here. Even the different OS vendors do not agree on all the port assignments. What IANA calls Dynamic or Private Ports (ephemeral ports) are actually different ranges on different OSes.
The distinction you see is not part of the protocol, it is something that the OS manufacturers have implemented based on the IANA assignment distinctions.