"Dear friends, if our hearts do not condemn us, we have confidence before God and receive from him anything we ask, because we obey his commands and do what pleases him. And this is his command: to believe in the name of his Son, Jesus Christ, and to love one another as he commanded us (1 John 3:21-23, NIV).
"Husbands, in the same way be considerate as you live with your wives, and treat them with respect as the weaker partner and as heirs with you of the gracious gift of life, so that nothing will hinder your prayers" (1 Peter 3:7, NIV).
These verses indicate that the way we treat other people (specifically fellow Christians and our wives) plays a role in God's willingness to pay attention to our concerns. If we trust in Jesus Christ and interact with others from a position of love, consideration, and respect, God is willing to unleash his power in answer to our prayers.