My parents were not perfect, but no one's parents are. As childhoods go, mine was pretty comfortable and good in a lot of ways, and yet I still ended up with anxiety.
People who suffer from anxiety are very good at hiding it. That can often be a contributor to the anxiety because the gap between the internal perception and the external impression can feel so large.