You are asking the right questions, if she started gambling because she saw him gambling then that makes him a bad parent this is the unfiltered Truth. Even if she eventually learns how to gamble later on from peers or wherever at least she's grown enough to handle her emotions but at such a young it's bad for her mental health. If she gets obsessed with this it would be hard for her to focus on academics
There is no how a parent will hide such habits from his daughter, even though it's hidden, the mother will tarnish the image of their father before them, it happens.
What I know for sure is that, what will happen will eventually happen, whether she picks up the character of her dad or not, it's already in her DNA to carry on or never care to continue.