ANSWER:
These thoughts and feelings are very dangerous and can take a person out of the fold of Islam! How dare you think this negatively of Allah who owns everything and is the most generous? When he doesn’t answer your request, does He do that because He is poor and can’t afford it or because He is stingy? Allah possesses everything in this universe and He is the most generous! This means that He didn’t prevent you from it except there is harm for you in it. Therefore, be grateful and recognize your true size and who Allah is before thinking like this.