I wanted to write a long explanation, but it became dumb, so I'll just say it's a mishmash of identity diffusion, self-doubt, and anger at Splinter for failing to show the confused Leo a path in life, which led him to seek his own "master" and ultimately become confused.