the literal meaning of the word is a "
box for holding
tinder",
tinder being something combustible you use to start a fire. A tinderbox can also be a potentially dangerous situation or location.
The proper usage of the term is as an insult that sarcastically implies that somebody is 'fake tough'.