Bitcoin is not entirely anonymous. In reality, it is pseudonymous because each user has a public address that theoretically could be traced back to an IP address or exchange account through proper network analysis.
A better question is, to what extent is Bitcoin anonymous?