At destructive plate margins, denser crust is forced under less dense crust, causing the sinking of the plate edge to pull the rest towards the boundary
At constructive plate margins, magma rises to the surface and forms new crust, which cools and becomes denser, causing gravity to move the denser rock downslope