How is a star formed from dust and gas?
Dust and gas get close together and gravitational collapse accelerates
Denser regions pull in more dust and gas and get hotter as gravitational energy is converted to thermal
Nuclear fusion needs to start
Repulsion needs to be overcome so high pressure and temperature needed