How is the type of geological catastrophe observed near a plate boundary related to the type of plate movement at that boundary?