I am from a European background, and I find it normal that foreigners are checked by border control upon entering or exiting a country and may need visa stamps. It is the duty of the officers to protect the country against illegal immigration, among other things. This does not matter, I believe, for citizens, who generally have the right to move freely in and out.
What I have noticed and been told is that, in some countries, the border control will interrogate and stamp their own citizens (beyond just checking that they look like their passport picture). I think two examples of such countries are India and the Philippines. Out of curiosity, what is the rationale for this?