Why is it when we face challenges, some of us make it personal and make it mean we are shit people or not capable or good enough?

In this I yarn about a moment on the mat, where I was struggling with a move/technique. And instead of making it about the move, my mind immediately made it personal and that I wasn't capable.

And it was a simple perspective shift and a different view from a coach that helped me find a solution.