If god is all powerful everything is a choice and there are no natural restrictions. Why an omniscient and supposedly loving deity created us to suffer and die is a question of theodicy and that is separate from the question of free will. Because god is a jerk is a likely and valid argument in this framework.
A better example for the god is a jerk is Satan/Lucifer. Angels were not given free will and are servants of God by design. Still, Satan and his host were cast down and separated from the light of God's love for their rebellion. Not being endowed with free will, the angels were apparently set up. In this situation, god made beings a certain way and then punished them for it while not giving them access to the tools of salvation (free will.)