when earthquake occur, the Volcanic Eruption occur too. If the moveoment is strong mountain ranges can be form . When the plate is moving, there is a possibility of an uplift movement that can cause of the formation of mountain ranges and that's why the volcano and mountain ranges have same location.