Does a soccer player have to play for their country?
No, they don’t, but most consider it an honour.
Some players rely on their ancestry so they can play for another country. Such as a French footballer whose Grandmother was Italian, he could play for either, but would have to make his decision clear.