how do tectonic plates affect the earth's surface