Implementation difference between PostgreSQL and MS SQL Server in varchar with no length

Today , I learned something new in PostgreSQL. Surprised to see the implementation difference between PostgreSQL and MS SQL Server .