Divergent boundaries usually occur when two tectonic plates or more pull away from each-other causing the empty spaces to fill with magma or water. Tectonic plates interact with each-other in many different ways, they can move towards one another (converge), or move away from one another (diverge), or slide past one another (transform)... These movements occur during earthquakes.