The target is chosen at random as part of putting the ability on the stack. Players can respond to the ability knowing what the target of the ability is.

Artwork
Loading artwork…
Scab-Clan Giant
Double Masters 2022 · #272 · EN
Nonfoil—Foil—
Card rules
When this creature enters, it fights target creature an opponent controls chosen at random.
4/5
For the Gruul, bone-crushing rage is the first priority. Accuracy comes in a distant ninetieth.
Uncommon · Illustrated by Zoltan Boros
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If Scab-Clan Giant leaves the battlefield before its ability resolves, no fight will happen and neither creature will deal damage. Also, if the target creature is an illegal target when the ability tries to resolve, it won't resolve and no fight will happen.
To choose a target at random, all legal targets must have an equal chance of being chosen. There are many ways to do this, including assigning each possible legal target a number and rolling a die.
In a multiplayer game, you don't choose a single opponent at random. Any creature controlled by any of your opponents may be chosen at random.