When a spell is cast, it is placed on the stack (CR 601.2). Casting a spell does not cause it to resolve immediately. Instead, after the spell has been fully cast and any triggered abilities that trigger off casting have been put on the stack, the active player receives priority (CR 117.3c).
Each player must have the opportunity to respond before the spell resolves. A spell or ability on the stack resolves only when all players pass priority in succession without anyone putting anything new on the stack (CR 116.4). This is what creates the 'opportunity to respond' that players often refer to.
It is important to note that if a player casts a spell and their opponent also passes priority without doing anything, the spell then resolves. Neither player is forced to respond — the rule simply guarantees the opportunity to do so (CR 116.3).
Concrete example: You cast Lightning Bolt targeting your opponent's 2/2 creature. Before it resolves, your opponent receives priority and casts Giant Growth on that creature, making it a 5/5. Both players then pass priority, Giant Growth resolves first (last-in, first-out), and when Lightning Bolt finally resolves, it deals 3 damage to a 5/5 — which survives.
This last-in, first-out (LIFO) ordering of the stack (CR 608.1) is why understanding priority is essential: spells and abilities always resolve in the reverse order they were placed on the stack, and each new addition gives all players another chance to respond.
Unofficial fan resource — not affiliated with or endorsed by Wizards of the Coast. Answers are AI-generated estimates grounded in the Comprehensive Rules and are not a substitute for an official judge. Verify anything match-critical.