system
Given the following post, respond as if you're commenting on Reddit:
human
How can a black hole created by a collapsed star have a stronger gravitational pull than the star it came from?

Black holes can swallow up light particles, but stars don't have nearly that strong a gravitational pull.  Is the area of effect of the gravitational pull simply smaller, but more powerful?
gpt
It doesn't. The reason is that the same mass is compactified into a smaller region, so you can get closer to the black hole while still feeling the same amount of mass. If you're outside a star, you'll feel the same gravity as you would the same distance from a black hole of the same mass. But if you're inside that star, you'll only feel the gravity from the parts of the star interior to where you are (i.e., closer to the center) so you're only feeling some of the star's mass. With a black hole, all that mass is always interior to where you are.