Why is the rock there, in that particular location? Well, we know why, it's because it fell from the cliff above, which was sundered by the earthquake, which was caused by the tectonic plate movement.
So we have a reason why the rock is there. Does that mean the rock has a purpose? No? But that's why it's there though!
What if I deliberately picked up a rock and placed it on that location instead. Does it have a purpose now? Does my hands have that power?
The idea that a creator imbues their creation with purpose by creating them is just as arbitrary as an earthquake. It's wordplay at best, where the layman's "purpose" is being confused with a sort of higher cosmic meaning "purpose". The purpose of a hammer is to drive down nails, but that doesn't mean the hammer has a purpose in the way we are talking about here. But that's exactly the mixup you do when you say that the creator gives the creation it's purpose. It's kinda funny because it elevates hammers making them fulfilled and meaningful, but rocks are left to suffer in their nihilism.