Wikipedia's Armageddon (1998 film); Plot begins:
A massive meteor shower destroys the orbiting Space Shuttle Atlantis, before entering the atmosphere and bombarding New York City. NASA discovers that the meteors were pushed out of the asteroid belt by a rogue comet that jarred loose a Texas-sized asteroid that will impact Earth in 18 days, causing an extinction level event that will wipe out all life on the planet. NASA scientists plan to drill a deep shaft into the asteroid and plant a nuclear weapon into it that, when detonated, will split the asteroid into two halves that will fly safely past Earth.
Surprisingly the accepted answer to Do astronomers generally agree that the distinction between comets and astroids is not so clear? begins
If we're going to get technical, Asteroids are not really an official name anymore.
But in 1998 it was certainly still believed that asteroids and comets were clearly distinct and different types of objects. I don't remember anything about there being a comet that dislodged an asteroid in the film. Why was this complication introduced? Why did the Armageddon (1998) plot require a "rogue comet that jarred loose a Texas-sized asteroid"?