Why do so many of Earth's volcanoes occur along plate boundaries?
Volcanoes appear as a leak between the plates of the Earth.
Inside the planet, there is a lot of molten rock (lava). It has no way of getting to the surface than through leaks between the plates.
A simple answer, and there is probably more to it, but those are the basics.