Why didnyou ask to use the bathroom most in school?

Back when I was in Kindergarten, I had a bad habit of drinking a lot of water. I had to use the bathroom a lot and my teachers noticed and complained to my parents, so I started pissing my pants everyday instead of going to the bathroom because it felt like going to the bathroom was wrong at that point.