Here's why:
* Adverbs modify verbs, adjectives, or other adverbs. In this case, "retroactively" modifies a verb, telling us how the action is being done.
* It answers the question "how?" For example: "The law was applied retroactively." This means the law was applied in a way that affects the past.
Let me know if you'd like to explore other parts of speech!