Its because cos(x) is anevenfunction (symmetric about the y axis), meaning that . Now, sin(x) is anoddfunction (symmetric about the origin), meaning . You can see why this is the case by looking at the graphs of these two functions.

Now, tan(x) is an odd function, since .

Does this clarify things?