Because of Iceland’s location.
It’s located along the mid-atlantic ridge, which is a divergent plate boundary. This means that two tectonic plates are sliding away from each other, which opens up the seafloor and allows lava to flow upwards, which creates volcanoes.