Spense (James Purefoy) infected the Hive. The Red Queen computer was trying to protect the outside world, and had no choice but to kill everyone inside the Hive. Only Alice (Milla Jovavich) survives.
(Links open in new window)
Read more about this film at The Internet Movie Database.