Do you know in which countries it's this way? The information I found about Germany I found says that they also don't have to pay tuition fees. I guess most countries don't need extra fees for foreigners because of the language barrier.
We used to have free university education for anyone in the world. But that's now changed so that anyone not in the EU, European Economic Area or Switzerland have to pay tuition.
A three year Bachelor program would cost about 63000 USD for anyone not in those countries that are part of the above organizations.
Albeit, that factors in the 2k and 8k per semester for food / housing (and the school requires you live on campus if your home is >20 miles away, and you can't get an apartment off) and you have to take that meal plan.
It is like $12k in classes per semester, plus the room / board, and a bunch of other line item expenses that add up.