Why did trench warfare lead to a stalemate on the Western Front?

1.Germany’s Schlieffen Plan was a success.

2.Battles were short due to high casualties.

3.Offensive operations attacking the other side rarely succeeded.

4.Neither side of the war had enough weapons to defeat the other.