I would say A. tunneling into the sides since gerunds contains ing's and it acts as a noun.
I hope this helps!
The complete gerund phrase in the given sentence is option A: 'tunneling into the sides of riverbanks.' A gerund functions as a noun and here, 'tunneling' is the gerund acting in that way. Therefore, A is the correct answer.
;