Some Game Effects may check if a player has performed a Game Action “with” a Game Object. In order to do so, the Game Action must be attributed to the spell or ability of that Game Object if necessary, the player must control that spell or the ability of that Game Object, and the player must be responsible for the Game Action.
§ 411.6 Core Rules PDF (officieel)
§ 411 Responsibility