Here's why:
* Direct Object: The direct object is the thing that receives the action of the verb. In this case, the direct object is "a bonus."
* Indirect Object: The indirect object is the person or thing that benefits from the action of the verb. Here, "you" is the indirect object because you are the one who receives the bonus.
You can also rewrite the sentence to make the indirect object more explicit:
* They gave a bonus to you.
This clarifies that "you" is the recipient of the bonus.