An oceanic plate and a continental plate move towards each other due to convection. The oceanic plate is heavier so is forced under the continental plate. Earthquakes happen as pressure is released. As the oceanic plate melts pressure builds up and the magma is forced out of a weak spot causing a volcano. E.G Japan