why undertaker lost
The Undertaker, Vince Mcmahon and Brock Lesnar agreed on an outcome in advance, and it unfolded as planned.

The outcomes of all professional wrestling matches are predetermined by matchmakers and the participants.

So there you go.