Answer: B. gravitation
Explanation:
Nebula is a stellar nursery. It is composed of dust and gases. This molecular cloud condenses under its own weight and forms a core which spins and gathers more mass due to gravity. This causes temperature and pressure to rise which kicks in the nuclear fusion reaction and a star is said to be born.
Thus, gravitation is responsible for formation of star.