Answer:
They planted flags so as to claim that specific land for the country that the flag represents. It will prevent other countries from claiming if because it is already claimed for a country.
Step-by-step explanation:
Hope it helps,
Kavitha Banarjee