Space is vast. Ridiculously so.
If you have a movie taking place primarily in space, you have the challenge of making the vastness of space interesting. Let's face it, what can you encounter in space other than the infinitely unprobable chance of approaching one of the sparse objects populating it? (Planets, Stars, Asteroids/Satellites)
This is where Hollywood (or any other monstrous entertainment industry) steps in. Navigating an asteroid field in a tiny free-flying spaceship is so outlandish and far from reality that it is laughable. If asteroids were clustered so close they would form planets or obliterate themselves into dust and there would be no asteroid field left. If they were small and numerous enough (like planetary rings) with a high enough motion to avoid them clustering, they would be impossible to spot and dodge (and shred you to pieces). So yeah, it's totally impossible. But it sure is fun to watch. Same goes for action movie car chases, plane movies with chases in canyons, ski movies outrunning avalanches, etc...
It's just a theme, and a very winningly entertaining one. And like any other, without plagiarizing, if you use it, you'll end up ridiculously similar to another of it's usage. This is what happened here. If you choose to have a space ship enter a very 'active' asteroid field (no matter how unrealistic it is) - what could be more exciting than having the asteroids crashing into one another, causing near misses to your protagonists space ship, and having it bob and weave through these immense rocks that constantly crash into one another. Think about it, pick any movie that has an asteroid field. Have the protagonist NOT gone in it? And NOT had a close call?