Here's why:
* Adverb phrases modify verbs, adjectives, or other adverbs, providing information about how, when, where, or to what extent something happens.
* In this sentence, "for several weeks" tells us when the people heard the rumbling sounds.
Let me know if you have any other sentences you'd like to analyze!