A stellar black hole forms when a massive star dies and its matter is squished together into an incredibly tiny space.