The answer is variant C because it exprime an action exprimed by a verb which can not form the verbal predicate.
The complete gerund phrase in the sentence is "tunneling into the sides of riverbanks," found in option D. This phrase is formed by the gerund "tunneling" and offers essential context about the action. Other options provide either incomplete phrases or do not represent gerund phrases at all.
;