The clashes in Hong Kong earlier this week may on the surface have been about unlicensed food stalls, but were fuelled by a growing "localist" sentiment.

Localists champion greater autonomy for Hong Kong, and protection against what they see as the dilution of the city's identity amid growing social and political influence from mainland China.

But what is it that has made them so angry?

Image copyrightHong Kong IndigenousImage caption
Hong Kong Indigenous is one of the main localist groups in the city

The localist movement is driven primarily by two loose groups - Hong Kong Indigenous and Civic Passion - which grew in strength in the aftermath of the 2014 pro-democracy protests, staging demonstrations and fielding candidates in political races.

Though Hong Kong has many pro-democracy groups, localists and their supporters are known for favouring direct action and not shying away from confrontation with authorities.

Growing income inequality

Sing Ming, a politics professor at the Hong Kong University of Science and Technology, says localists tend to be young people who cherish their Hong Kong identities, as well as those who face economic difficulties.

Government figures show that about 960,000 out of Hong Kong's population of 7.2 million live below the poverty line, making it the 12th most unequal place in the world.

There is a sense among localists that the government has failed to address the needs of the poor.

Mr Sing says some localists are "extremely dissatisfied" with the government's handling of this, and "may even think that the policies are the results of collusion between government and business".

Image copyrightEPAImage caption
Stinky tofu (pictured) and fishballs are among some of the more popular street food items sold by Hong Kong hawkers

Itinerant street hawkers, in particular, are seen as one symbol of the income gap as their trade has traditionally been seen as a way out of poverty.

But the government stopped issuing new licences in 1970s, and has conducted increasingly strict crackdowns on illegal hawking due to food safety and obstruction concerns, as was the case in Mong Kok.

Media captionThe BBC spoke to street hawkers in Mong Kok

Some localists believe these moves happened because of political pressure from property developers, who regard hawkers as a nuisance and eyesore.

Meanwhile, shop rents have grown increasingly expensive, which means food vending is now a dying trade. Many people believe the poor are being deprived of one legitimate means of income.

But some also see the clearances of illegal hawkers, as happened in Mong Kok, as a failure by the government to recognise how integral they are to local culture, and a sign that the government has grown out of touch with ordinary Hong Kongers' desire to preserve their unique identity and freedoms.

Hong Kong Polytechnic University lecturer Leung Chi-yuen, who has been studying hawkers for a decade, says the issue has become a "powder keg" in Hong Kong in recent years.

Image copyrightAFP/Getty ImagesImage caption
Leung Chun-ying is widely seen as a pro-Beijing figure

"The government has underestimated the socio-political environment," he says, and if it decides to further crack down "it will bring unforeseeable consequences".

'Out of touch' government

Politically, the current government, under Chief Executive Leung Chun-ying, is widely seen as pro-Beijing, a view that was reinforced by the crackdown on the 2014 pro-democracy protests.