Jesus said seek first the kingdom of God and His righteousness,and then food and clothing,your needs will be added unto you.
The Bible says the prayers of a righteous person avails much,which means if the person is not following Christ in the truth,seeking righteousness,then their prayers are hindered.
Also the Bible says some people prayer amiss,because they pray for their lusts,wants,and not their needs,and God will not provide our wants.
God said He will supply all our needs.
The Bible says having food and clothing,be content,and the saints appear poor to the world,but they possess all things.
The truth is God only provides for our physical needs,like food and clothing,and will not provide for our wants.
So prayers do not get answered because the people praying are not righteous,which God said love not the world or the things in the world.If any man love the world or the things of the world,the love of the Father is not in them,and there are some people who claim Christ who love some things of the world.
Prayers do not get answered if the person praying is praying for wants,and not needs,but if the person is not righteous,then God is not obligated to provide their needs.