Linguas franca develop because explorers, colonizing rulers, diplomats, merchants, teachers of various religions, etc., move about the world and take a native language with them as they go.
If a particular language catches on, it becomes a standard way of communicating.