Which two events happenen in the rock cycle