Why did trench warfare result in such horrific casualties?

Question 21 options:

because artillery and machine guns had made capturing an enemy's position nearly impossible

because combatants were forced to use knives and bayonets in order to capture an enemy's position

because life in the trenches was difficult, with scarce food and a lack of water and medicine

because generals were unaware of an enemy's position and often walked into traps