Certain kinds of flags are self-fulfilling if enough of them gather up. Anywhere you can say 'offensive' or 'spam' by raising a flag, a sufficient number of them will cause the community user to just delete it until a mod has had a chance to look at it.
You just happened to be the last flagger, so the effect was instantaneous.
There are also instances where a single flag can cause a comment to be removed, for instance if it contains profanity that we don't outright block.
Helps keep things clean without leaving all the rubbish around for moderators to have to deal with.