God always answers our prayers. Some unbelievers would say that they know people who prayers didn't get answered. But that's untrue. God always answers prayers just sometime the answer is no.
Why would the answer be no? Is it because God is punishing me? Not necessarily. Was God punishing Jesus when He prayed and asked for Him to remove the cup of responsibility of going to the cross from Him? (Luke 22:42) No. but Jesus also said "Not thy will, but thine be done."
We have to realize that God's will is for the best in our lives. We may think that God is far away at the moment because we didn't get what we wanted when we wanted but the truth of the matter is, He is closer to our lives then we are. He knows what we need better the we do and will continue take care of us the proper way.
Praise God that He didn't say yes to Jesus' prayer in the Garden of Gethsename because of that, generations and generations of people can be saved through believing on the blood of Christ.