The molecules where the bonds have wrong angles usually have more energy and they end to decompose in other molecules where the bonds have the correct angles or they have other bonds. [Oversimplifying warning, Chemistry is more complicated.]
Some nice graphics: https://www.sciencedirect.com/topics/chemistry/triple-bond Perhaps the text is too technical, but the graphics are nice.