While not exactly what you're looking for, this older answer on why Trench warfare sort of "stopped" at the end of the war/afterwards should be of interest to you and your question, and touches on what the reasons for Trench warfare as we think of it coming about.