"Why" means different things. Ultimately, it will go to things we cannot understand. Why is there matter? Why does it bend space? Why is there even space, rather than nothing at all?
So the simplest answer is "because matter bends space," and the ultimate answer is unknown and probably unknowable.
So the simplest answer is "because matter bends space," and the ultimate answer is unknown and probably unknowable.