Here's why:
* Adverbs modify verbs, adjectives, or other adverbs. They tell us how, when, where, or to what extent something happens.
* In this case, "scornfully" modifies the verb "bumping". It tells us *how* the bumping was done - with scorn.
Let me know if you have any other words you'd like to analyze!