Because these volcanic activities happen on plate tectonics.
This is not the best answer but I hope it could help you.
6.6m questions
8.8m answers