The oceanic plate is forced down into the mantle in a process known as "subduction." As the oceanic plate descends, it is forced into higher temperature environments. ... This partial melting produces magma chambers above the subducting oceanic plate.
(hope this helps ^^)