This started when these properties began to be developed, thus the w3c had not yet made the definitions on the properties.
So the producers of each browser started using names that related the properties to their browsers as a way of not conflicting the interpretation of this property with other browsers they were called prefix vendor.
Today you can see that there are several properties that besides having the -moz-
or -webkit-
are also written without, as the border-radius
for example, this means that the w3c has already standardized the property, so every browser "has to" understand both its nomenclature and the nomenclature of w3c.
But the tendency is that with time they fall into disuse, are depreciated and finally discontinued.
– Erlon Charles