Due to my anxiety of being teased and thrown out of
the bathroom, I wet my pants at school every
day during the second grade.
Those are just two examples of psychological reasons why someone may not have control of their bladder. I know your daughter isn't in second grade, and she's probably not dealing with the teasing, but she could be the victim of some other form of abuse. At the very least, look into it.