God wanted intelligent companions to join him in his universe, and was willing to risk imposing all sorts of misery on them to get that. Evil and suffering are a byproduct of God creating a universe that could support intelligent biological life.
All matter (and space) can feel pain. But God raised the level to which it could be articulated inside of a material body. By giving material bodies a capacity for heightened intelligence (like him), he allowed these bodies to recognize their own mortality (impending deaths). The intelligent, self-aware universe (who God most definitely is) invited evil and suffering by creating a complex universe that could support life.