Where do tectonic plates come from?

Get, get subducted!!! Come on, magma, make it hot!!