Pakistanis flee into Afghanistan for safety

Re: Pakistanis flee into Afghanistan for safety

Why does it say "Thousands of Pakistanis have fled into Afghanistan with the security situation deteriorating in Pakistan's tribal regions over the past week. "

Refugees arent given the title of Pakistanis?