Sometimes even if there is a same/similar question already it will not show, especially if the wording was different. So even if you didn't know, there was already a similar question(Here),so it was flagged. This is one reason you may want to do a quick search yourself before posting a question.
So basically, don't always expect the yellow box to be accurate.
Also, don't create a new thread just because your post was hidden. First, check to see that it wasn't asked already. Then, if you still don't know why it was hidden, read the rules. If you still can't find the reason your post was hidden then post an answer on this page.