I'm a hindu girl I used to visit temple daily and devotee of lord Vishnu. Once my friend (she belongs to other religion) asked me that why your hindu gods needs relationship such as wife, children etc. Please Anyone helps me to answer her..
God is not in the Relationship but Relationships themselves are due to God. God himself creates this relationship by the power of his Maya.
For e.g. Adi Shankara in Dakshinmurty Stotram tells:
विश्वं पश्यति कार्यकारणतया स्वस्वामिसम्बन्धतः शिष्याचार्यतया तथैव पितृपुत्राद्यात्मना भेदतः । स्वप्ने जाग्रति वा य एष पुरुषो मायापरिभ्रामितः तस्मै श्रीगुरुमूर्तये नम इदं श्रीदक्षिणामूर्तये ॥८॥
He whose power of Maya which enables one to See the World as Cause and Effect, as Possessor-Possession Relations, as the Disciple-Teacher, and Also as Father-Son Relations etc, are all Differentiations within the One Atman, In Dream or Waking state, He, the One Purusha is always present, and (as if) Maya Wanders over Him and gives rise to all these Differentiations, Salutations to Him, the Personification of Our Inner Guru Who Awakens This Knowledge through His Profound Silence; Salutation to Sri Dakshinamurthy.
So, the Relationship of God and relationship of ourselves also which we perceive are simply due to potency of Lord. ie. Relationship itself is perceived due to power of Lord.
Hindu gods do not need relationships. It is how ordinary humans whose minds are not capable of grasping the infinite in all its fullness view God.
No one, except the perfected sage, can worship Him in His fullness, since the human mind can grasp only limited aspects of Him. The more an individual or a community is evolved, the more noble and comprehensive will be their conception of the Deity. But the less evolved man too is adoring the same Deity, grasping such aspects of His as his undeveloped mind would allow. It is just like various forms being chipped from a huge block of marble. The more skilled the workman, the more artistic will be the forms chipped out of the block. Even if it is crude, it is of the same block. Such are the various conceptions of the Deity; none can claim that his conception embraces the whole of Him, because He cannot be contained within the limitation of a mind, as a bottle cannot contain the whole of the sea. He reveals only what one is fit to receive. So according to the stages of human evolution, there will be different conceptions of the Deity, and the followers of one, even if they think theirs is more refined, need not look down upon others as heathens or Kaffirs worshipping false Deities, and consider themselves alone as the followers of the true Deity.
Srimad Bhagavad Gita translated by Swami Tapasyananda