Welcome to the forum! You ask a good question, and to be honest, I think it has to do with human nature. I work with families almost exclusively using attachment as a framework. That is also how I see God - he is our Father, we are his children. When there is a secure attachment in families, the natural thing for children to do is go out and explore. At some point, the child comes back - when they need protection, comfort, help, connection. In a secure relationship, the child will go to the caregiver and know his or her needs will be met.
When the attachment is not secure, the child might not be able to count on the caregiver being there, or being able or willing to meet their needs, or they might seek and not be able to find an absent caregiver. And for some insecure attachments, the child will reunite with the caregiver only to throw a tantrum at the caregiver. For some, the caregiver might be there, but the child won't seem to even care.
Translate all that into a relationship with the Father, and keep in mind that our human families are the ones babies will attach to long before some of us are even aware there is a God. For a person whose attachments were secure, that translates into a secure relationship with the Father. We go out to explore our world, we go about our lives. And then when we have a need, we turn back to the Father, knowing he will meet our needs.
A child who grew up with an absent, abusive, or neglectful caregiver may seek and not find or seek but not trust, and then they have a very deep wound that translates to an absent God. This is the wound that needs to be healed so there is a secure attachment with the Father even if there was insecure attachment with their caregiver. I believe it is this attachment style who is more likely to ask where God is or be upset that God seems to not hear their prayers or answer them in the affirmative. They are the ones who need reminding that God is here, that he does care, that he will meet their needs. This is the start of re-writing the attachment code that their human caregivers gave them, healing the attachment wound.