according to the theory of plate tectonics , the earths crust was divided into slabs of rock called plates that floated over a thick river of plastic-like magma , and the sunda trench was a result of the indo-australian plate pushing itself under the burma plate .