Peace,
The question is valid and the answer is crystal clear.
76:2 - We created the human from a liquid mixture, from two parents, in order to test him. Thus, we made him a hearer and a seer.
51:56 - I did not create the jinns and the humans except to worship Me alone.
We took the responsibility ourselves, willingly, and therefore we are accountable for our actions. The God is not to be blamed for our doings i.e. the God did not force the burden upon us.
33:72 - We have offered the responsibility (freedom of choice) to the heavens and the earth, and the mountains, but they refused to bear it, and were afraid of it. But the human being accepted it; he was transgressing, ignorant.
He has the ability to create whatever He wills. Just like you do whatever you want to do with your given ability.