A catch or tear in fabric, or a problem or obstacle that gets in the way of progress.
From Old Norse 'snagi' (a peg or spike), related to pointed protruding objects. Originally meant something sharp sticking out.
A snag on your sweater and a snag in your plans are the same word because both involve something sharp and unexpected catching and interrupting—like a tree branch snagging fabric.
Complete word intelligence in one call. Free tier — 50 lookups/day.