why are stars shaped in a star form

All stars are spheres. Their own gravity forces then to take that shape