A beginning, a middle, and an end

A group has three stages: a beginning, a middle, and an end. What differentiates one stage from another? What factors influence group endings?