How can rocks get hallow?

Can you answer this question?