Heart-Piercer Bow (not the equipped creature) is the source of the triggered ability and the source of the damage. This means that a creature with protection from green may be targeted even if Heart-Piercer Bow is equipped to a green creature, but a creature with protection from artifacts may not.

Artwork
Loading artwork…
Heart-Piercer Bow
Commander Masters · #390 · EN
Nonfoil—Foil—
Card rules
Whenever equipped creature attacks, this Equipment deals 1 damage to target creature defending player controls.
Equip 1 (1: Attach to target creature you control. Equip only as a sorcery.)
Common · Illustrated by Franz Vohwinkel
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If a creature is attacking a planeswalker, the controller of that planeswalker is the defending player. If a creature is attacking a battle, the protector of that battle is the defending player.