The correct answer is B) preposition: under; object of the preposition: rocks.
The word under is the only preposition in this sentence, which is why B is the only correct answer.
In A, shy is an adjective. In C, darted is a verb. In D, the is an article.