Explanation of the Mass Distribution of Binary Black Hole Mergers