The development of the star commences with gravitational instability within a molecular cloud, due to locations of better density—normally brought on by compression of clouds by radiation from large stars, growing bubbles in the interstellar medium, the collision of various molecular clouds, or even the collision of galaxies (as in https://bodyguard15925.blogdon.net/a-secret-weapon-for-service-52200976