> 27% of Swiss residents were born outside the country.
Swiss nationality is not linked to your birth country, it is linked to lineage. There are second, third, (fourth, fifth, sixth?) generation immigrants in Switzerland that are not Swiss. Conversly, there are Swiss nationals that have never set foot in Switzerland.
What events occurred that made the original Swiss people into Swiss people?
That’s unrelated to the fact you reply to.