This is a very good question. Although humans cannot grasp galaxies of outer space, or the complexities of one another, or the mind of God (Isaiah 55: 8-9, NIV), God gave us the Bible as a tool to begin to understand Him. Therefore, scripture will provide our answer.
First of all, you are correct in stating that God does ALLOW abuse (Job 2:4-5, NIV). Then Jesus came to them and said, “All authority in heaven and on earth has been given to me.” (Matthew 28:18, NIV)
God is in control of everything that happens; however, God never CAUSES wickedness.