Does ssh need to allow root logins?

Sshing as a regular user and then sudo to root works 95% of the time…

How does SSH become an arbitrary user without effective root?