I think you should look up definitions of for nothing.
The phrase in this context means "for no reason".
And, yes, the author of the comic could have been a bit clearer and could have written "for no reason". I personally find that "for nothing" sounds more provocative and fits in the exclamation better.