In unsuitable conditions, such as small, unfiltered bowls, poor water quality can drastically shorten a goldfish's lifespan. Ammonia buildup, stress, and disease are common culprits in early deaths.