The company's stock price plummeted following the announcement of disappointing earnings, _____ investors' confidence in its future prospects.
Correct: A
The sentence requires a present participle to describe the effect of the announcement. 'Eroding' correctly describes the ongoing process of damaging investors' confidence. It's a continuous effect following the announcement, hence a gerund is needed.