Whenever your duas aren't answered, NEVER question Allah SWT. ALWAYS question yourself.
Try to ask for forgiveness from Allah. Cry to Allah SWT, that you are sorry. PERHAPS Allah SWT is putting you through this BECAUSE He SWT wants you CLOSER to Him SWT. Perhaps it is a call from Him "come closer, oh slave!"
Don't you see that if you were in ease ALWAYS, you wouldn't have called upon Allah SWT, as much? Don't you see because of what you are going through, you seek and want Allah SWT so desperately?
Rather than complain about Allah SWT. complain to Allah, get closer to Him SWT!
Please don't despair, for Allah SWT puts through trials those whom He SWT loves.