There are a few things that can cause you to get killed by zombies: being low on health, not having any weapons or armor, being surrounded by zombies, or being too close to a zombie when it attacks.